feat: add carpet

This commit is contained in:
2026-07-03 21:58:28 +03:30
parent d290ba86bb
commit 413fca68cc
20 changed files with 421 additions and 16 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /out/server ./cmd/serv
FROM gcr.io/distroless/static-debian12
WORKDIR /app
COPY --from=build /out/server /app/server
ENV ADDR=:8080 DB_PATH=/data/hakemsho.db CARDS_DIR=/data/cards
ENV ADDR=:8080 DB_PATH=/data/hakemsho.db CARDS_DIR=/data/cards CARPETS_DIR=/data/carpets
EXPOSE 8080
VOLUME ["/data"]
USER nonroot:nonroot