mirror of
https://github.com/aziis98/statuspage.git
synced 2026-10-06 22:55:21 +00:00
server: env-driven config via dotenv; Dockerfile BuildKit cache mounts; db in data.volume
This commit is contained in:
+2
-1
@@ -24,7 +24,8 @@ RUN apk add --no-cache ca-certificates tzdata
|
||||
WORKDIR /app
|
||||
COPY --from=backend /out/statuspage /app/statuspage
|
||||
COPY --from=frontend /ui/dist /app/dist
|
||||
ENV CONFIG=/app/config.local.yaml
|
||||
VOLUME /app/data.volume
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["/app/statuspage"]
|
||||
CMD ["-c", "/app/config.local.yaml", "--addr", ":5000"]
|
||||
CMD ["--addr", ":5000"]
|
||||
|
||||
Reference in New Issue
Block a user