diff --git a/Dockerfile.frontend-container b/Dockerfile.frontend-container index f4771f3f..d87ee10e 100644 --- a/Dockerfile.frontend-container +++ b/Dockerfile.frontend-container @@ -1,12 +1,12 @@ ## Build stage -FROM node:16-alpine3.14 AS build +FROM node:18-alpine3.14 AS build WORKDIR /usr/src/app COPY tornjak-frontend . RUN npm install && \ npm run build ## Runtime stage -FROM node:16-alpine3.14 AS runtime +FROM node:18-alpine3.14 AS runtime WORKDIR /usr/src/app COPY --from=build /usr/src/app/build ./build COPY --from=build /usr/src/app/.env.prod .