added docker compose

This commit is contained in:
Халтобин Евгений 2024-12-05 09:04:17 +03:00
parent a3813e2851
commit 76aba32d64
14 changed files with 280 additions and 65 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
#Dockerfile for TeamCity build "run in docker"
FROM repo.asd.center.cg:8082/alt/alt-tomcat:c10f1-9.0.59-20240917
USER root
COPY config/tomcat /
RUN cat /etc/tomcat/webbpm.properties >> /etc/tomcat/catalina.properties \
&& chown root:tomcat /var/lib/tomcat/webapps \
&& chmod g+rw /var/lib/tomcat/webapps
COPY frontend/target/frontend*.war /var/lib/tomcat/webapps/ROOT.war
COPY backend/target/*.war /var/lib/tomcat/webapps/
USER tomcat
EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"]