Files
ferurl/deployment/Dockerfile
2025-08-06 21:12:23 +02:00

14 lines
236 B
Docker

FROM golang:latest as build
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o ferurl
FROM alpine:latest
WORKDIR /app
COPY --from=build /app/ferurl /app/ferurl
COPY web/ /app/web/
EXPOSE 3000
ENTRYPOINT [ "/app/ferurl" ]