Files
chess-swap-backend/Dockerfile
T
Lucas Winther 1c7aebb689
Continuous Integration / docker-build-and-push (push) Successful in 50s
chore: bump golang base image and migrate CI to Gitea Actions
2026-11-09 09:05:12 +01:00

15 lines
244 B
Docker

FROM golang:1.27.3-alpine3.24
WORKDIR /app
# Install dependencies
COPY go.mod .
COPY go.sum .
RUN go mod download
# Build application
COPY *.go .
RUN go build -o /chess-swap-backend
# Run application
EXPOSE 5000
CMD [ "/chess-swap-backend" ]