feat: add Dockerfile for backend

This commit is contained in:
sBubshait 2025-07-21 14:56:19 +03:00
parent 1a540e6999
commit 9ab02dda7f

14
backend/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM maven:3.9.11-eclipse-temurin-21
WORKDIR /app
COPY pom.xml .
COPY application.yml .
RUN mvn dependency:go-offline -B
COPY src ./src
EXPOSE 8080
CMD ["mvn", "spring-boot:run"]