mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build: remove dev dependencies for production docker build
This commit is contained in:
@@ -3,7 +3,10 @@ FROM node:12.18-alpine
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN yarn && \
|
||||
RUN yarn --frozen-lockfile && \
|
||||
yarn build
|
||||
|
||||
# remove development dependencies
|
||||
RUN npm prune --production
|
||||
|
||||
CMD yarn start
|
||||
|
Reference in New Issue
Block a user