Add CI job building the binary and a docker image

This commit is contained in:
Felix Auringer
2021-04-26 15:36:24 +02:00
parent e14e9c9229
commit 2cb34eb477
2 changed files with 42 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM alpine:latest
RUN adduser --disabled-password api
USER api
COPY poseidon /home/api/
EXPOSE 3000
CMD ["/home/api/poseidon"]