Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -13,10 +13,10 @@ RUN npm install express axios fs path progress-stream
|
|
| 13 |
# Copy all project files to the container
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
-
# Create required directories and set permissions
|
| 17 |
RUN mkdir -p /app/downloads && chmod -R 777 /app/downloads
|
| 18 |
|
| 19 |
-
# Expose
|
| 20 |
EXPOSE 7860
|
| 21 |
|
| 22 |
# Start the Node.js server
|
|
|
|
| 13 |
# Copy all project files to the container
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
+
# Create required directories and set correct permissions
|
| 17 |
RUN mkdir -p /app/downloads && chmod -R 777 /app/downloads
|
| 18 |
|
| 19 |
+
# Expose the API port
|
| 20 |
EXPOSE 7860
|
| 21 |
|
| 22 |
# Start the Node.js server
|