mirror of
https://github.com/Luzifer/password.git
synced 2024-12-20 12:51:17 +00:00
Dockerized for API deployment
This commit is contained in:
parent
60caeaaecd
commit
84a1911002
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM golang
|
||||
|
||||
MAINTAINER Knut Ahlers <knut@ahlers.me>
|
||||
|
||||
RUN go get github.com/Luzifer/password && \
|
||||
go install github.com/Luzifer/password
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENTRYPOINT ["/go/bin/password"]
|
||||
CMD ["serve", "--port", "3000"]
|
Loading…
Reference in a new issue