refactor: remove commit_snapshot documentation and update docker configuration files
All checks were successful
Build and Release / release (push) Successful in 1m30s
All checks were successful
Build and Release / release (push) Successful in 1m30s
This commit is contained in:
@@ -13,10 +13,11 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o email-worker ./cmd/worker/email
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o storage-worker ./cmd/worker/storage
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o rag-worker ./cmd/worker/rag
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o cron-worker ./cmd/worker/cron
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk --no-cache add ca-certificates tzdata
|
||||
RUN apk --no-cache add ca-certificates tzdata postgresql-client
|
||||
ENV TZ=Asia/Ho_Chi_Minh
|
||||
|
||||
WORKDIR /app
|
||||
@@ -25,9 +26,10 @@ COPY --from=builder /app/history-api .
|
||||
COPY --from=builder /app/email-worker .
|
||||
COPY --from=builder /app/storage-worker .
|
||||
COPY --from=builder /app/rag-worker .
|
||||
COPY --from=builder /app/cron-worker .
|
||||
COPY data ./data
|
||||
|
||||
RUN chmod +x ./history-api ./email-worker ./storage-worker ./rag-worker
|
||||
RUN chmod +x ./history-api ./email-worker ./storage-worker ./rag-worker ./cron-worker
|
||||
|
||||
EXPOSE 3344
|
||||
|
||||
|
||||
Reference in New Issue
Block a user