Docker image first version

This commit is contained in:
2025-12-26 22:03:49 -05:00
parent 56f22bb472
commit 99e437b42b
4 changed files with 40 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM golang:1.25-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /fes main.go
FROM alpine:latest
RUN apk add --no-cache bash lua5.4
COPY --from=builder /fes /usr/local/bin/fes
WORKDIR /app
CMD ["fes", "run", "/app"]