Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
|
@@ -10,13 +10,7 @@ COPY package*.json ./
|
|
| 10 |
# Install app dependencies
|
| 11 |
RUN npm install --production
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
RUN rm -f app.js
|
| 15 |
-
|
| 16 |
-
# Download the new app.js from the external URL (Hugging Face)
|
| 17 |
-
RUN wget https://huggingface.co/datasets/Niansuh/Redeem/resolve/main/app.js -O app.js
|
| 18 |
-
|
| 19 |
-
# Copy the rest of the application code (excluding app.js)
|
| 20 |
COPY . .
|
| 21 |
|
| 22 |
# Expose the port the app runs on
|
|
|
|
| 10 |
# Install app dependencies
|
| 11 |
RUN npm install --production
|
| 12 |
|
| 13 |
+
# Copy the rest of the application code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Expose the port the app runs on
|