mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
400 B
22 lines
400 B
6 years ago
|
# -- DEV DOCKERFILE --
|
||
|
# -- DO NOT USE IN PRODUCTION! --
|
||
7 years ago
|
|
||
6 years ago
|
FROM node:10-alpine
|
||
6 years ago
|
LABEL maintainer "requarks.io"
|
||
|
|
||
|
RUN apk update && \
|
||
6 years ago
|
apk add bash curl git python make g++ nano openssh gnupg --no-cache && \
|
||
6 years ago
|
mkdir -p /wiki
|
||
7 years ago
|
|
||
6 years ago
|
WORKDIR /wiki
|
||
6 years ago
|
COPY package.json .
|
||
|
RUN yarn --silent
|
||
6 years ago
|
COPY ./dev/docker-mysql/init.sh ./init.sh
|
||
7 years ago
|
|
||
6 years ago
|
ENV dockerdev 1
|
||
6 years ago
|
ENV DEVDB mysql
|
||
7 years ago
|
|
||
|
EXPOSE 3000
|
||
6 years ago
|
|
||
|
CMD ["tail", "-f", "/dev/null"]
|