feat: log to console in dev

This commit is contained in:
Simon Ding
2024-07-28 11:08:17 +08:00
parent ef9e4487c6
commit 3a4e303d9d
2 changed files with 12 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ COPY --from=flutter /app/build/web ./ui/build/web/
RUN CGO_ENABLED=1 go build -o polaris -ldflags="-X polaris/db.Version=$(git describe --tags --long)" ./cmd/
FROM debian:12
ENV TZ="Asia/Shanghai"
ENV TZ="Asia/Shanghai" GIN_MODE=release
WORKDIR /app
RUN apt-get update && apt-get -y install ca-certificates