Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -15,8 +15,10 @@ RUN npm install --production
|
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
# Create a directory for temporary files
|
| 18 |
-
RUN mkdir -p /code/temp
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Expose port
|
| 22 |
EXPOSE 7860
|
|
|
|
| 15 |
COPY . .
|
| 16 |
|
| 17 |
# Create a directory for temporary files
|
| 18 |
+
RUN mkdir -p /code/temp
|
| 19 |
+
|
| 20 |
+
# Set permissions for the /code/temp directory
|
| 21 |
+
RUN chown -R node:node /code/temp
|
| 22 |
|
| 23 |
# Expose port
|
| 24 |
EXPOSE 7860
|