We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f34e03 commit 9843afcCopy full SHA for 9843afc
.docker/Dockerfile.alpine
@@ -1,12 +1,13 @@
1
FROM node:14.18.3-alpine3.15
2
3
-RUN apk add --no-cache python3 make g++ libc6-compat ttf-dejavu
+RUN apk add --no-cache ttf-dejavu
4
5
ADD . /app
6
7
LABEL maintainer="[email protected]"
8
9
RUN set -x \
10
+ && apk add --no-cache --virtual .fetch-deps python3 make g++ libc6-compat \
11
&& cd /app/bundle/programs/server \
12
&& npm install --production \
13
# Start hack for sharp...
@@ -16,7 +17,8 @@ RUN set -x \
16
17
# End hack for sharp
18
&& cd npm \
19
&& npm rebuild bcrypt --build-from-source \
- && npm cache clear --force
20
+ && npm cache clear --force \
21
+ && apk del .fetch-deps
22
23
# needs a mongo instance - defaults to container linking with alias 'mongo'
24
ENV DEPLOY_METHOD=docker \
0 commit comments