Begin a basic Dockerfile
Dieser Commit ist enthalten in:
Ursprung
4a17102c68
Commit
c56fc30543
16
Dockerfile
Normale Datei
16
Dockerfile
Normale Datei
@ -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
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren