Skip to content

Commit

Permalink
Include node_modules in final image (#263)
Browse files Browse the repository at this point in the history
Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
inverse and frenck authored Nov 9, 2022
1 parent 8533a84 commit 8bcd7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmoadmin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ RUN \
\
&& npm ci \
&& node minify.js \
&& NODE_ENV=production npm ci \
\
&& apk del --no-cache --purge .build-dependencies \
\
Expand All @@ -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 {} \; \
Expand Down

0 comments on commit 8bcd7b2

Please sign in to comment.