overflow_service_websocket/Dockerfile

18 lines
449 B
Docker
Raw Permalink Normal View History

2017-07-28 07:52:16 +00:00
FROM alpine:latest
ENV APP_VERSION=1.0.0 \
APP_HOME=/service \
APP_NAME=overflow_service_websocket
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