Docker installer workflow and licensing flow done - docker container is working fine
This commit is contained in:
2
cygnus-onprem-app/.dockerignore
Normal file
2
cygnus-onprem-app/.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!target/matrix.war
|
||||
21
cygnus-onprem-app/Dockerfile
Normal file
21
cygnus-onprem-app/Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM tomcat:10.1-jdk21-temurin
|
||||
|
||||
LABEL org.opencontainers.image.title="Technobee Matrix On-Premises Service"
|
||||
LABEL org.opencontainers.image.vendor="Technobee Solutions"
|
||||
|
||||
RUN rm -rf /usr/local/tomcat/webapps/*
|
||||
|
||||
COPY target/matrix.war /usr/local/tomcat/webapps/matrix.war
|
||||
|
||||
RUN mkdir -p /opt/matrix/config \
|
||||
&& chown -R 1000:0 /opt/matrix /usr/local/tomcat \
|
||||
&& chmod -R g=u /opt/matrix /usr/local/tomcat
|
||||
|
||||
ENV MATRIX_INSTALLATION_CONFIG=/opt/matrix/config/installation.yml
|
||||
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75.0 -Djava.awt.headless=true"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
USER 1000
|
||||
|
||||
CMD ["catalina.sh", "run"]
|
||||
Reference in New Issue
Block a user