Adding docker entry for backend #34
4
backend/Dockerfile
Normal file
4
backend/Dockerfile
Normal 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"]
|
@ -1,4 +1,8 @@
|
|||||||
services:
|
services:
|
||||||
|
backend:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- 4000:8080
|
||||||
postgres:
|
postgres:
|
||||||
image: 'postgres:latest'
|
image: 'postgres:latest'
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user