mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 09:30:29 +00:00
only install prod pkgs for docker runtime container
This commit is contained in:
@@ -15,7 +15,7 @@ WORKDIR /opt/infra-map
|
|||||||
COPY --from=builder /app/build build
|
COPY --from=builder /app/build build
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
RUN yarn
|
RUN yarn --production
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|||||||
Reference in New Issue
Block a user