add the requirements file

This commit is contained in:
matt committed 2026-10-17 05:14:55 -07:00
1 parent e9632c9a8d
commit a1c1362276
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ COPY web/ /var/www/html/
# API on 5000
RUN mkdir -p /opt/Fitness
RUN python3 -m venv /opt/Fitness/venv
# COPY apis/Fitness/requirements.txt /opt/Fitness/
# RUN /opt/Fitness/venv/bin/pip3 install --no-cache-dir -r /opt/Fitness/requirements.txt
COPY api/requirements.txt /opt/Fitness/
RUN /opt/Fitness/venv/bin/pip3 install --no-cache-dir -r /opt/Fitness/requirements.txt
# Copy the actual app code after installing deps
COPY api/ /opt/Fitness/