Add initial configuration files and Docker setup for Documize
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,9 +1,10 @@
|
||||
FROM alpine:latest
|
||||
FROM alpine:3.23
|
||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/documize-docker"
|
||||
ARG DOCUMIZE_VERSION=v4.2.3
|
||||
LABEL org.opencontainers.image.source="https://git.tainton.uk/repos/documize-docker"
|
||||
ARG DOCUMIZE_VERSION=v5.14.0
|
||||
ENV DOCUMIZEPORT=5001
|
||||
RUN apk add --no-cache curl
|
||||
WORKDIR /opt
|
||||
RUN curl -L -o documize "https://github.com/documize/community/releases/download/${DOCUMIZE_VERSION}/documize-community-linux-amd64" && chmod 755 documize
|
||||
ENTRYPOINT ["./documize -port 80"]
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["./documize -port ${DOCUMIZEPORT}"]
|
||||
EXPOSE ${DOCUMIZEPORT}
|
||||
|
||||
Reference in New Issue
Block a user