Skip to content

Commit

Permalink
Update Dockerfile.prod
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainDreidemy authored Sep 15, 2023
1 parent 036e42e commit 57767fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download

COPY *.go ./
COPY . .

RUN go build -o /api src/server.go

Expand All @@ -22,4 +22,4 @@ EXPOSE 8080

USER nonroot:nonroot

ENTRYPOINT ["/api"]
ENTRYPOINT ["/api"]

0 comments on commit 57767fa

Please sign in to comment.