Add Dockerfile, Drone CI config, fix main class
This commit is contained in:
7
Dockerfile
Normal file
7
Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM amazoncorretto:8-alpine
|
||||
WORKDIR /app
|
||||
COPY jshERP-boot/target/jshERP.jar /app/jshERP.jar
|
||||
COPY jshERP-web/dist /app/static
|
||||
RUN mkdir -p /opt/jshERP/upload /opt/tmp/tomcat
|
||||
EXPOSE 9999
|
||||
ENTRYPOINT ["java", "-jar", "/app/jshERP.jar"]
|
||||
Reference in New Issue
Block a user