docker file
This commit is contained in:
parent
0cf3116314
commit
796a82d777
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ENV APP_VERSION=1.0.0 \
|
||||
APP_HOME=/service \
|
||||
APP_NAME=overflow_gateway_web
|
||||
|
||||
WORKDIR ${APP_HOME}
|
||||
|
||||
ADD dist/${APP_NAME} ${APP_HOME}/
|
||||
ADD config.json ${APP_HOME}/
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["./overflow_service_websocket"]
|
||||
|
||||
# docker build -f Dockerfile -t docker.loafle.net/overflow/overflow_service_websocket:1.0.0-alpine .
|
||||
# docker run -d -p 18081:80 -t docker.loafle.net/overflow/overflow_service_websocket:1.0.0-alpine
|
Loading…
x
Reference in New Issue
Block a user