mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Keep devDependencies installed in docker image (#1047)
This commit is contained in:
parent
ae6d5cb6bf
commit
1c25266935
@ -19,7 +19,7 @@ ENV NPM_CONFIG_LOGLEVEL warn
|
||||
RUN apk update && apk upgrade \
|
||||
&& apk add --no-cache ca-certificates nodejs-npm \
|
||||
&& apk add --no-cache --virtual .build-dependencies python2 make g++ \
|
||||
&& npm install --production \
|
||||
&& npm install --production=false \
|
||||
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
||||
EXPOSE 8080
|
||||
EXPOSE 8765
|
||||
|
Loading…
x
Reference in New Issue
Block a user