You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
373 B
19 lines
373 B
FROM mwaeckerlin/base |
|
MAINTAINER mwaeckerlin |
|
|
|
ENV PORT 4000 |
|
|
|
ENV CONTAINERNAME "servicedock" |
|
RUN adduser -D npm |
|
ADD --chown=npm . /app |
|
WORKDIR /app |
|
RUN apk add npm python docker make g++ \ |
|
&& npm install npm@latest -g \ |
|
&& rm -rf node_modules \ |
|
&& npm install \ |
|
&& npm audit fix --force \ |
|
&& apk del python make g++ |
|
#USER npm |
|
|
|
EXPOSE $PORT |
|
VOLUME /var/run/docker.sock
|
|
|