mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
chore: reduce docker image
This commit is contained in:
parent
17f90d6d10
commit
47b29768c7
@ -17,9 +17,9 @@ WORKDIR /app
|
||||
ADD . .
|
||||
ENV NPM_CONFIG_LOGLEVEL warn
|
||||
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++ \
|
||||
&& npm install \
|
||||
&& npm install --production \
|
||||
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
||||
EXPOSE 8080
|
||||
EXPOSE 8765
|
||||
|
Loading…
x
Reference in New Issue
Block a user