Split up dependencies into their own layers
All checks were successful
git.cronocide.net/fitbit-web-ui-app/pipeline/head This commit looks good

This commit is contained in:
Cronocide 2024-09-13 00:15:26 -06:00
parent 18f3944a91
commit 18c61565ee
Signed by: Cronocide
GPG Key ID: 1CADA052F64664EC

View File

@ -1,8 +1,12 @@
# This version of Numpy requires python 3.10
FROM python:3.10 AS python
FROM python:3.10
ENV PROJ_NAME=fitbit-web-ui-app
ADD ./requirements.txt /requirements.txt
RUN pip3 install -r /requirements.txt
RUN pip3 install pandas==2.0.3
RUN pip3 install plotly==5.15.0
RUN pip3 install numpy==1.25.0
RUN pip3 install dash==2.11.1 requests==2.29.0
RUN pip3 install gunicorn
RUN pip3 install dash-tools dash-dangerously-set-inner-html
ADD ./ /$PROJ_NAME
WORKDIR /$PROJ_NAME
CMD gunicorn --chdir src app:server --bind 0.0.0.0:80