Skip to content

Commit

Permalink
Merge pull request #1436 from Spiteless/ts.vite-update-ghaction
Browse files Browse the repository at this point in the history
wip: Update containers for testing
  • Loading branch information
trillium authored Jul 16, 2023
2 parents 4123952 + b3c0c8d commit c0d4e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM alpine:3.14 AS node-modules-install
FROM 20-alpine3.17 AS node-modules-install
RUN mkdir /srv/client && chown node:node /srv/client
WORKDIR /srv/client
USER node
RUN mkdir -p node_modules
COPY --chown=node:node package.json package.json ./
RUN npm install --silent

FROM node:18.12.0-slim AS client-builder
FROM node:18-slim AS client-builder
USER node
WORKDIR /srv/client
COPY --from=node-modules-install /srv/client/node_modules node_modules
Expand Down

0 comments on commit c0d4e36

Please sign in to comment.