Add Dockerfile, Drone CI config, fix main class

This commit is contained in:
root
2026-02-14 19:23:34 +01:00
parent 66d3ffd0d0
commit e5ac5fa492
4 changed files with 40 additions and 2 deletions

7
Dockerfile Normal file
View 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"]