build: further shrinkage for the docker build

pull/183/head
sct 4 years ago
parent 0d73d88f35
commit 44b419e5da

@ -1,8 +1,10 @@
**/node_modules
**/.next
node_modules
.next
.git
.gitconfig
.gitignore
.github
**/README.md
**/.vscode
config/db/db.sqlite3
config/db/logs/overseerr.log

@ -7,6 +7,7 @@ RUN yarn --frozen-lockfile && \
yarn build
# remove development dependencies
RUN npm prune --production
RUN yarn install --production --ignore-scripts --prefer-offline
RUN yarn cache clean
CMD yarn start

Loading…
Cancel
Save