Fix Go version mismatch in Dockerfile (update to golang:1.22-alpine)
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# 1. Build Go Backend
|
# 1. Build Go Backend
|
||||||
FROM golang:1.21-alpine AS builder
|
FROM golang:1.22-alpine AS builder
|
||||||
# Cache go modules
|
# Cache go modules
|
||||||
COPY backend/go.mod backend/go.sum ./backend/
|
COPY backend/go.mod backend/go.sum ./backend/
|
||||||
RUN cd backend && go mod download
|
RUN cd backend && go mod download
|
||||||
|
|||||||
Reference in New Issue
Block a user