mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build: further shrinkage for the docker build
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
**/node_modules
|
node_modules
|
||||||
**/.next
|
.next
|
||||||
.git
|
.git
|
||||||
.gitconfig
|
.gitconfig
|
||||||
.gitignore
|
.gitignore
|
||||||
.github
|
.github
|
||||||
**/README.md
|
**/README.md
|
||||||
**/.vscode
|
**/.vscode
|
||||||
|
config/db/db.sqlite3
|
||||||
|
config/db/logs/overseerr.log
|
||||||
|
@@ -7,6 +7,7 @@ RUN yarn --frozen-lockfile && \
|
|||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
# remove development dependencies
|
# remove development dependencies
|
||||||
RUN npm prune --production
|
RUN yarn install --production --ignore-scripts --prefer-offline
|
||||||
|
RUN yarn cache clean
|
||||||
|
|
||||||
CMD yarn start
|
CMD yarn start
|
||||||
|
Reference in New Issue
Block a user