Merge pull request #11 from steverao/main-dockerfile

Add Dockerfile
This commit is contained in:
Huxing Zhang 2023-01-12 12:40:41 +08:00 committed by GitHub
commit f74726a04c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM openjdk:17
WORKDIR /app
COPY initializer-generator/target/initializer-generator-0.8.jar /app
COPY initializer-generator/target/classes/static /app
EXPOSE 7001
CMD ["java","-jar","/app/initializer-generator-0.8.jar"]