UPDATE: Auth module, User module
Some checks failed
Build and Release / release (push) Failing after 1m25s
Some checks failed
Build and Release / release (push) Failing after 1m25s
This commit is contained in:
@@ -9,8 +9,8 @@ RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
|
||||
go build -trimpath -ldflags="-s -w" -o history-api ./cmd/history-api
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o history-api ./cmd/api
|
||||
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o email-worker ./cmd/worker/email
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
@@ -20,9 +20,10 @@ ENV TZ=Asia/Ho_Chi_Minh
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/history-api .
|
||||
COPY --from=builder /app/email-worker .
|
||||
COPY data ./data
|
||||
|
||||
RUN chmod +x ./history-api
|
||||
RUN chmod +x ./history-api ./email-worker
|
||||
|
||||
EXPOSE 3344
|
||||
|
||||
|
||||
Reference in New Issue
Block a user