2018-08-28 04:23:05 +00:00
|
|
|
# -- DEV DOCKERFILE --
|
|
|
|
# -- DO NOT USE IN PRODUCTION! --
|
2017-08-12 19:11:27 +00:00
|
|
|
|
2019-01-25 22:19:52 +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 && \
|
2019-01-25 22:19:52 +00:00
|
|
|
mkdir -p /wiki
|
2017-08-12 19:11:27 +00:00
|
|
|
|
2019-01-25 22:19:52 +00:00
|
|
|
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
|
2017-08-12 19:11:27 +00:00
|
|
|
|
2018-08-28 04:23:05 +00:00
|
|
|
ENV dockerdev 1
|
2017-08-12 19:11:27 +00:00
|
|
|
|
|
|
|
EXPOSE 3000
|
2018-08-28 04:23:05 +00:00
|
|
|
|
|
|
|
CMD ["tail", "-f", "/dev/null"]
|