mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Remove not needed node_modules/ folder during docker build
This should make the docker image a bit smaller (approx. 70 MB)
This commit is contained in:
parent
e5183ba1b2
commit
e8e1da9c61
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ RUN a2enmod rewrite
|
|||
# Install composer and yarn dependencies for Part-DB
|
||||
USER www-data
|
||||
RUN composer install -a --no-dev && composer clear-cache
|
||||
RUN yarn install && yarn build && yarn cache clean
|
||||
RUN yarn install && yarn build && yarn cache clean && rm -rf node_modules/
|
||||
|
||||
# Use demo env to output logs to stdout
|
||||
ENV APP_ENV=demo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue