Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -13,7 +13,8 @@ RUN --mount=type=secret,id=GIT_REPO_URL,mode=0444,required=true \
|
|
| 13 |
git clone $(cat /run/secrets/GIT_REPO_URL) .
|
| 14 |
|
| 15 |
# Install project dependencies
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
# Expose the port your app runs on
|
| 19 |
EXPOSE 7860
|
|
|
|
| 13 |
git clone $(cat /run/secrets/GIT_REPO_URL) .
|
| 14 |
|
| 15 |
# Install project dependencies
|
| 16 |
+
# Replace the old npm ci line with this:
|
| 17 |
+
RUN npm install --omit=dev
|
| 18 |
|
| 19 |
# Expose the port your app runs on
|
| 20 |
EXPOSE 7860
|