shows docker swarm stack
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
Reference in New Issue
Block a user