add dockerfile
All checks were successful
ci/woodpecker/manual/build-server-image Pipeline was successful

This commit is contained in:
1e99 2024-12-01 20:27:20 +01:00
parent 7c9d9350d3
commit 2f052710ba

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
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"]