mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
21 lines
No EOL
366 B
Docker
21 lines
No EOL
366 B
Docker
FROM golang:1
|
|
|
|
# Move to working directory /app
|
|
WORKDIR /app
|
|
|
|
# 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 DO_NOT_TRACK=true \
|
|
CAOS_OIDC_DEV="true" \
|
|
ZITADEL_OIDC_DEV="true"
|
|
|
|
# Expose HTTP port
|
|
EXPOSE 9998
|
|
|
|
CMD ["/app/server"] |