resourcepacker/Dockerfile
1e99 2f052710ba
All checks were successful
ci/woodpecker/manual/build-server-image Pipeline was successful
add dockerfile
2024-12-01 20:27:20 +01:00

8 lines
222 B
Docker

FROM golang:1.23.2 AS builder
WORKDIR /src
COPY . ./
RUN cd server && go build -o /bin/resourcepacker .
FROM debian:latest AS runner
COPY --from=builder /bin/resourcepacker /bin/resourcepacker
CMD ["/bin/resourcepacker"]