Support docker build for production.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM centurylink/ca-certs
|
||||
EXPOSE 8088
|
||||
|
||||
ADD config/config.yml /
|
||||
ADD bin/gorush /
|
||||
|
||||
ENTRYPOINT ["/gorush"]
|
||||
CMD ["-c", "config.yml"]
|
||||
Reference in New Issue
Block a user