1
0
forked from PGL/Clyde

Adding docker entry for backend

This allow you to run `docker-compose up` in the backend directory
to run the whole backend in a docker. by default the port is set to 4000
This commit is contained in:
2024-02-26 13:20:03 +01:00
parent 42d9231ef6
commit 6503af0096
2 changed files with 8 additions and 0 deletions

4
backend/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM eclipse-temurin:21-jdk-alpine
VOLUME /tmp
COPY build/libs/backend-0.0.1-SNAPSHOT.jar /app.jar
ENTRYPOINT ["java", "-jar", "/app.jar"]