chore: update Dockerfile

This commit is contained in:
Dawid Wysokiński 2021-06-04 19:46:34 +02:00
parent 1426ec6703
commit d2934c8f3d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:alpine as builder
FROM golang as builder
# Set the Current Working Directory inside the container
WORKDIR /app
@ -11,7 +11,7 @@ RUN go mod download
# Copy the source from the current directory to the Working Directory inside the container
COPY . .
RUN go generate ./..
RUN go generate ./...
RUN go build -o zdamegzawodowy .
######## Start a new stage from scratch #######