photoprism/docker/dummy/oidc/Dockerfile
2021-12-10 10:17:13 +01:00

22 lines
No EOL
335 B
Docker

FROM golang:1
# Move to working directory /app
WORKDIR /app
ARG GOPROXY
ARG GODEBUG
# Copy files and download dependency using go mod
COPY /docker/dummy/oidc/app/. .
RUN go mod download
# Build the application
RUN go build -o server .
# Allow HTTP scheme
ENV CAOS_OIDC_DEV=true
# Expose HTTP port
EXPOSE 9998
CMD ["/app/server"]