Skip to content

Commit

Permalink
update docker dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmajestic committed Mar 15, 2024
1 parent 3d8553f commit 130cf94
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,10 +1,11 @@
FROM golang:1.17-alpine
RUN apk add --no-cache git
FROM golang:1.18-alpine
RUN apk add --no-cache git gcc musl-dev
WORKDIR /app
COPY go.mod .
COPY go.sum .
RUN go mod tidy
RUN go mod download
RUN go get gorm.io/driver/sqlite
COPY . .
RUN go build -o main main.go
EXPOSE 8080
Expand Down

0 comments on commit 130cf94

Please # to comment.