update docker actions of maven workflow (#139)

This commit is contained in:
dxfeng10
2021-04-25 15:54:16 +08:00
committed by GitHub
parent 29724e295c
commit bee7f22de0
3 changed files with 21 additions and 21 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM java:8
MAINTAINER fizzgate.com
ENV APP_HOME_PATH /opt/fizz-gateway-community
ADD fizz-bootstrap/target/fizz-bootstrap-*.jar ${APP_HOME_PATH}/fizz-gateway-community.jar
COPY fizz-bootstrap/sh/boot.sh ${APP_HOME_PATH}/boot.sh
COPY fizz-bootstrap/sh/docker-entrypoint.sh ${APP_HOME_PATH}/docker-entrypoint.sh
RUN chmod +x ${APP_HOME_PATH}/boot.sh
WORKDIR ${APP_HOME_PATH}
EXPOSE 8600
ENTRYPOINT ["/bin/bash", "./docker-entrypoint.sh"]