Put package.json into website

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2023-01-20 17:26:25 -08:00
parent 9ffe2f54dd
commit ef827cefa7

View File

@ -22,7 +22,7 @@ RUN npm install --global npm@latest
# #
# 'production' is used as a COPY source when building # 'production' is used as a COPY source when building
# DEVELOPMENT mode (via website1 image) # PRODUCTION mode (via website image)
# #
FROM base AS production FROM base AS production
@ -115,6 +115,7 @@ COPY --from=production /website/client/build /website/client/build
FROM runtime AS website1 FROM runtime AS website1
RUN echo "Building DEVELOPMENT" RUN echo "Building DEVELOPMENT"
COPY /server/development.location /etc/nginx/snippets/active.location COPY /server/development.location /etc/nginx/snippets/active.location
COPY /package.json /website/
# #
# This is the final image stage pulling together 'runtime' and the # This is the final image stage pulling together 'runtime' and the