mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Remove chown copy from package.json runtime copy
This commit is contained in:
parent
c7c9116ee5
commit
2199b3b998
@ -8,7 +8,7 @@ FROM node:lts-alpine AS runtime
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
USER node
|
USER node
|
||||||
COPY --chown=node:node package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci --production
|
RUN npm ci --production
|
||||||
COPY --from=build --chown=node:node /app/dist ./dist
|
COPY --from=build --chown=node:node /app/dist ./dist
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
Loading…
Reference in New Issue
Block a user