mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-28 17:10:30 +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 package.json .
|
||||
RUN yarn
|
||||
RUN yarn --production
|
||||
|
||||
EXPOSE 3000
|
||||
ENV NODE_ENV=production
|
||||
|
||||
Reference in New Issue
Block a user