2f052710ba
All checks were successful
ci/woodpecker/manual/build-server-image Pipeline was successful
8 lines
222 B
Docker
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"]
|