From 1912f6299165e11720c98bc897149565659d977e Mon Sep 17 00:00:00 2001 From: somnath Date: Fri, 20 Dec 2024 12:37:48 +0530 Subject: [PATCH] changed dokcer base image to 1.22-alpine --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index bd8737a..9cc5de2 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -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 ./ @@ -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