Create Dockerfile

This commit is contained in:
Aisalkyn85 2024-11-24 21:00:55 -06:00 committed by GitHub
parent 317562a170
commit 492d2c7968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM openjdk:17-jdk-slim
WORKDIR /root
COPY target/*.jar app.jar
EXPOSE 8086
CMD ["sh", "-c", "java -jar /root/app.jar & sleep 3600"]