Skip to content

Commit

Permalink
Use requirements.txt also for production stage.
Browse files Browse the repository at this point in the history
  • Loading branch information
khituras committed Mar 18, 2023
1 parent b7e78a6 commit 3ed247a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gepi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CMD ["bash", "-c", "mvn -f /var/gepi/dev --projects gepi-webapp --also-make jett
FROM jetty:10.0.9-jre11-slim-openjdk as production
USER root
COPY requirements.txt .
RUN apt-get update -y && apt-get install -y python3.9 && apt-get install -y python3-pip && pip install pandas==1.3.2 openpyxl==3.0.9 xlsxwriter==3.0.1
RUN apt-get update -y && apt-get install -y python3.9 && apt-get install -y python3-pip && pip install -r requirements.txt
USER jetty
RUN java -jar "$JETTY_HOME/start.jar" --add-modules=ssl,https
COPY gepi-webapp/target/gepi-webapp.war /var/lib/jetty/webapps/ROOT.war

0 comments on commit 3ed247a

Please sign in to comment.