Skip to content

Commit

Permalink
Update Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
afifurrohman-id authored Jan 4, 2024
1 parent 4fe406d commit 9cdad0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/package/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM golang:1.20-alpine AS builder
LABEL authors=afif

WORKDIR /src
COPY . .
Expand All @@ -21,6 +20,8 @@ RUN go fmt ./... && \
cmd/files/main.go

FROM scratch
LABEL org.opencontainers.image.authors="afif"
LABEL org.opencontainers.image.licenses="MIT"
WORKDIR /app

COPY --from=builder /src/tempsy .
Expand Down

0 comments on commit 9cdad0f

Please sign in to comment.