wikijs-fork/dev/docker/Dockerfile

21 lines
378 B
Docker
Raw Normal View History

2018-08-28 04:23:05 +00:00
# -- DEV DOCKERFILE --
# -- DO NOT USE IN PRODUCTION! --
FROM node:10-alpine
2018-08-28 04:23:05 +00:00
LABEL maintainer "requarks.io"
RUN apk update && \
2019-02-03 07:48:30 +00:00
apk add bash curl git python make g++ nano openssh gnupg --no-cache && \
mkdir -p /wiki
WORKDIR /wiki
2018-08-28 04:23:05 +00:00
COPY package.json .
RUN yarn --silent
2018-12-09 01:51:55 +00:00
COPY ./dev/docker/init.sh ./init.sh
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"]