mirror of
https://github.com/amark/gun.git
synced 2025-11-24 14:35:55 +00:00
chore: reduce docker image
This commit is contained in:
parent
17f90d6d10
commit
47b29768c7
@ -17,9 +17,9 @@ WORKDIR /app
|
|||||||
ADD . .
|
ADD . .
|
||||||
ENV NPM_CONFIG_LOGLEVEL warn
|
ENV NPM_CONFIG_LOGLEVEL warn
|
||||||
RUN apk update && apk upgrade \
|
RUN apk update && apk upgrade \
|
||||||
&& apk add --no-cache ca-certificates nodejs-npm \
|
&& apk add --no-cache ca-certificates nodejs-npm \
|
||||||
&& apk add --no-cache --virtual .build-dependencies python make g++ \
|
&& apk add --no-cache --virtual .build-dependencies python make g++ \
|
||||||
&& npm install \
|
&& npm install --production \
|
||||||
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
EXPOSE 8765
|
EXPOSE 8765
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user