Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -15,5 +15,8 @@ COPY . .
|
|
15 |
# Expose the port the app runs on
|
16 |
EXPOSE 5000
|
17 |
|
|
|
|
|
|
|
18 |
# Command to run the application
|
19 |
CMD [ "npm", "start" ]
|
|
|
15 |
# Expose the port the app runs on
|
16 |
EXPOSE 5000
|
17 |
|
18 |
+
# Change permissions for the 'public' directory to allow write access
|
19 |
+
RUN chmod -R 777 /usr/src/app/public
|
20 |
+
|
21 |
# Command to run the application
|
22 |
CMD [ "npm", "start" ]
|