Skip to content

Commit

Permalink
changed dokcer base image to 1.22-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathbm committed Dec 20, 2024
1 parent 66f5851 commit 1912f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine AS build
FROM golang:1.22-alpine AS build
WORKDIR /app

COPY go.mod go.sum ./
Expand All @@ -13,7 +13,7 @@ COPY main.go ./main.go

RUN go build -o ./dist/hms-patient-mgmt.sh

FROM golang:alpine AS run
FROM golang:1.22-alpine AS run
WORKDIR /app
COPY --from=build --chmod=500 /app/dist/hms-patient-mgmt.sh ./
EXPOSE 8080
Expand Down

0 comments on commit 1912f62

Please sign in to comment.