add dockerfile
All checks were successful
ci/woodpecker/manual/build-server-image Pipeline was successful
All checks were successful
ci/woodpecker/manual/build-server-image Pipeline was successful
This commit is contained in:
parent
7c9d9350d3
commit
2f052710ba
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue