mirror of
https://github.com/hassio-addons/addon-tasmoadmin.git
synced 2025-05-04 11:01:27 +00:00
Include node_modules in final image (#263)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
8533a84487
commit
8bcd7b2b65
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,7 @@ RUN \
|
|||
\
|
||||
&& npm ci \
|
||||
&& node minify.js \
|
||||
&& NODE_ENV=production npm ci \
|
||||
\
|
||||
&& apk del --no-cache --purge .build-dependencies \
|
||||
\
|
||||
|
@ -45,7 +46,6 @@ RUN \
|
|||
/var/www/tasmoadmin/.github \
|
||||
/var/www/tasmoadmin/.iocage \
|
||||
/var/www/tasmoadmin/docker-compose.yml \
|
||||
/var/www/tasmoadmin/tasmoadmin/node_modules \
|
||||
/var/www/tasmoadmin/tasmoadmin/tests \
|
||||
\
|
||||
&& find /var/www/tasmoadmin -type f -name ".htaccess" -depth -exec rm -f {} \; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue