Added docs
This commit is contained in:
1 parent
54601b1993
commit
db9c114bfe
3 files changed
+102
-5
No files matched your search
+2
-2
@@ -1,9 +1,9 @@
|
||||
# Start from the official Golang image for building
|
||||
FROM golang:1.22-alpine AS builder
|
||||
FROM golang:1.23.11-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go mod download
|
||||
RUN go build -o app main.go
|
||||
RUN go build -o app .
|
||||
|
||||
# Use a minimal image for running
|
||||
FROM alpine:latest
|
||||
|
||||
Reference in new issue
Block a user