Skip to content

Commit

Permalink
Align Node version with LTS used in Dockerfile.tornjak-container
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
  • Loading branch information
marcofranssen committed Jun 27, 2023
1 parent 066b8f8 commit d1ed762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.frontend-container
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down

0 comments on commit d1ed762

Please sign in to comment.