Begin a basic Dockerfile

Este commit está contenido en:
Albert S. 2019-02-21 10:48:36 +01:00
padre 8b125c7775
commit ba8815a3eb

16
Dockerfile Archivo normal
Ver fichero

@ -0,0 +1,16 @@
FROM alpine:edge
RUN apk update
RUN apk upgrade
RUN apk add sqlite-dev
RUN apk add boost-regex
RUN apk add openssl-dev
RUN apk add make g++
RUN apk add boost-dev
COPY . /app
WORKDIR /app
RUN adduser -D qswiki
RUN chown -R qswiki .
RUN mkdir /config/ /cache/
USER qswiki
RUN make release
ENTRYPOINT /app/qswiki /config/qswiki.conf