Add CI job building the binary and a docker image
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user