wikijs-fork/dev/docker/Dockerfile

20 lines
331 B
Docker
Raw Normal View History

2018-08-28 04:23:05 +00:00
# -- DEV DOCKERFILE --
# -- DO NOT USE IN PRODUCTION! --
2018-09-08 19:49:36 +00:00
FROM node:10-alpine
2018-08-28 04:23:05 +00:00
LABEL maintainer "requarks.io"
RUN apk update && \
apk add bash curl git python make g++ --no-cache && \
mkdir -p /var/wiki
WORKDIR /var/wiki
2018-08-28 04:23:05 +00:00
COPY package.json .
RUN yarn --silent
2018-08-28 04:23:05 +00:00
ENV dockerdev 1
EXPOSE 3000
2018-08-28 04:23:05 +00:00
CMD ["tail", "-f", "/dev/null"]