Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Jan 30, 2023
1 parent fef8509 commit 92c4078
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM golang:1.15.6-alpine3.12 AS build
FROM golang:1.18-alpine3.17 AS build
WORKDIR /src
COPY . .
RUN apk add --no-cache gcc musl-dev
RUN go build

FROM alpine:3.12
FROM alpine:3.17
COPY --from=build /src/dash-backend /bin/
EXPOSE 8080
ENTRYPOINT ["/bin/dash-backend"]

0 comments on commit 92c4078

Please sign in to comment.