[docker] Dockerfile for coffer-server

This commit is contained in:
Armin Friedl 2019-11-30 19:56:31 +01:00
parent caec5a14c7
commit 8bcf05fd8f
Signed by: armin
GPG key ID: 48C726EEE7FBCBC8
2 changed files with 11 additions and 0 deletions

View file

@ -22,3 +22,5 @@
- [ ] Encrypt key request with client key - [ ] Encrypt key request with client key
- [ ] Decrypt key request with client key - [ ] Decrypt key request with client key
- [ ] Generate trampolin sh from dockerfile - [ ] Generate trampolin sh from dockerfile
* Docker
** TODO Create Dockerfile for server

9
docker/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM gcr.io/distroless/static
COPY ./* /app/
EXPOSE 9187
ENTRYPOINT ["/app/coffer-server", "-k", \
"-m", "/app/masterkey.cbor", \
"-s", "/app/secrets.cbor", \
"--ip", "0.0.0.0"]