Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/spline UI 251 dockerfile user #252

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions deployment/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@ LABEL \
EXPOSE 8080
EXPOSE 8009

RUN rm -rf /usr/local/tomcat/webapps/*
COPY target/*.war /usr/local/tomcat/webapps/ROOT.war
RUN chgrp 1001 /usr/local/tomcat/conf /usr/local/tomcat/webapps
RUN chmod g+w /usr/local/tomcat/conf /usr/local/tomcat/webapps

COPY --chown=1001 target/*.war /usr/local/tomcat/webapps/ROOT.war
RUN chmod a-w /usr/local/tomcat/webapps/ROOT.war

USER 1001:1001
2 changes: 1 addition & 1 deletion ui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<artifactId>frontend-maven-plugin</artifactId>
<version>1.10.3</version>
<configuration>
<nodeVersion>v14.16.0</nodeVersion>
<nodeVersion>v16.9.1</nodeVersion>
<npmVersion>7.6.0</npmVersion>
<environmentVariables>
<SPLINE_UI_BUILD_REVISION>${buildNumber}</SPLINE_UI_BUILD_REVISION>
Expand Down