pretix-proxy/dev/docker/images/production/backend/Dockerfile
2023-10-16 21:28:25 +02:00

11 lines
238 B
Docker

FROM golang:alpine3.17 AS build
WORKDIR /build
COPY ./src ./src
WORKDIR /build/src
RUN ls
RUN go get .
RUN go build -o /build/pretix-proxy
FROM alpine:3.17 AS final
COPY --from=build /build/pretix-proxy /bin/pretix-proxy
CMD pretix-proxy