forked from Somnia/SomniaRoomsApp
Fix dockerfile for Docker Lint action.
This commit is contained in:
+1
-2
@@ -14,8 +14,7 @@ CMD ["npm", "run", "dev"]
|
|||||||
|
|
||||||
# Build app for production.
|
# Build app for production.
|
||||||
FROM app-base as builder
|
FROM app-base as builder
|
||||||
RUN npm ci
|
RUN npm ci && npm run build
|
||||||
RUN npm run build
|
|
||||||
|
|
||||||
# production environment
|
# production environment
|
||||||
FROM nginx:stable-alpine as final-prod
|
FROM nginx:stable-alpine as final-prod
|
||||||
|
|||||||
Reference in New Issue
Block a user