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
409 B
22 lines
409 B
# -- DEV DOCKERFILE --
|
|
# -- DO NOT USE IN PRODUCTION! --
|
|
|
|
FROM node:10-alpine
|
|
LABEL maintainer "requarks.io"
|
|
|
|
RUN apk update && \
|
|
apk add bash curl git python make g++ nano openssh gnupg sqlite --no-cache && \
|
|
mkdir -p /wiki
|
|
|
|
WORKDIR /wiki
|
|
COPY package.json .
|
|
RUN yarn --silent
|
|
COPY ./dev/docker-sqlite/init.sh ./init.sh
|
|
|
|
ENV dockerdev 1
|
|
ENV DEVDB sqlite
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["tail", "-f", "/dev/null"]
|