photoprism/docker/oidc/Dockerfile
2021-09-09 11:33:27 +02:00

19 lines
299 B
Docker

FROM golang:1.17-alpine
# Move to working directory /app
WORKDIR /app
# Copy files and download dependency using go mod
COPY . .
RUN go mod download
# Build the application
RUN go build -o test-op .
# Allow HTTP scheme
ENV CAOS_OIDC_DEV=true
# Expose HTTP port
EXPOSE 9998
CMD ["/app/test-op"]