Compare commits

..

No commits in common. "983588b6c90a3f9da4b9d1d4cd7e4e5577d4468f" and "e4cf64d7bc319ec686daf028a1f1f6c6fda6e140" have entirely different histories.

2 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,9 @@
FROM scratch FROM alpine:latest
WORKDIR /gopenfusion
# grab binary # grab binary
WORKDIR /gopenfusion COPY ./bin/server ./
COPY --chmod=0755 ./bin/server ./ RUN chmod +x ./server
ENTRYPOINT [ "/gopenfusion/server" ] CMD ["/gopenfusion/server"]

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
mkdir -p bin mkdir -p bin
CGO_ENABLED=0 GOOS=linux go build -o ./bin/server go build -o ./bin/server
echo 'Done' echo 'Done'