Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dkapanidis committed Oct 12, 2022
1 parent d9f17c7 commit 440f8c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Build Image
FROM golang:1.14.3-alpine AS build
FROM golang:1.18.3-alpine AS build
RUN apk add --no-cache g++ make git
WORKDIR /app
WORKDIR /go/src/github.com/harbur/golang-gin-starter
COPY Makefile .
RUN make setup

COPY . .
RUN make deps test install
RUN make install

# Runtime Image
FROM golang:1.14.3-alpine
FROM golang:1.18.3-alpine
COPY --from=build /go/bin/golang-gin-starter /bin/

EXPOSE 8080
Expand Down

0 comments on commit 440f8c9

Please sign in to comment.