refactor: Dockerfile for VSTS

This commit is contained in:
NGPixel
2017-10-14 23:56:51 -04:00
parent 33d961cc3f
commit c2db365922
6 changed files with 61 additions and 52 deletions

15
tools/build/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:8-alpine
LABEL maintainer="requarks.io"
RUN apk update && \
apk add bash curl git openssh supervisor --no-cache && \
mkdir -p /var/wiki
WORKDIR /var/wiki
COPY supervisord.conf /etc/supervisord.conf
COPY . /var/wiki
EXPOSE 3000
CMD ["supervisord", "--nodaemon", "-c", "/etc/supervisord.conf"]