add builad and deploy gitea pipeline
Some checks failed
Gitea Action Maven build / build (push) Failing after 2m7s
Gitea Action Maven build / deploy (push) Has been skipped

This commit is contained in:
Eduard Kuksa
2025-02-23 16:24:52 +07:00
parent 1991fb5726
commit ae5b90f2c4
4 changed files with 112 additions and 3 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM openjdk:21-jdk-slim
WORKDIR /app
COPY target/searchengine-*.jar ./searchengine.jar
COPY .env ./
EXPOSE 8080
CMD ["java", "-jar", "searchengine.jar"]