From ba8815a3eb65fdcf723312c526f8c648d221b02c Mon Sep 17 00:00:00 2001 From: Albert S Date: Thu, 21 Feb 2019 10:48:36 +0100 Subject: [PATCH] Begin a basic Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7e0c21c --- /dev/null +++ b/Dockerfile @@ -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