Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ WORKDIR /usr/src/app
|
|
| 7 |
# Copy the rest of the application files to the container
|
| 8 |
COPY --chown=1000 . .
|
| 9 |
|
| 10 |
-
RUN npm
|
| 11 |
|
| 12 |
# Expose the application port (assuming your app runs on port 3000)
|
| 13 |
EXPOSE 3000
|
|
|
|
| 7 |
# Copy the rest of the application files to the container
|
| 8 |
COPY --chown=1000 . .
|
| 9 |
|
| 10 |
+
RUN npm ci && npm run build
|
| 11 |
|
| 12 |
# Expose the application port (assuming your app runs on port 3000)
|
| 13 |
EXPOSE 3000
|