remove venv install command from dockerfile

This commit is contained in:
matt committed 2026-10-17 05:08:09 -07:00
1 parent 1c82154f60
commit e9632c9a8d
1 file changed
+2 -3
+2 -3
View File
@@ -21,9 +21,8 @@ COPY web/ /var/www/html/
# API on 5000 # API on 5000
RUN mkdir -p /opt/Fitness RUN mkdir -p /opt/Fitness
RUN python3 -m venv /opt/Fitness/venv RUN python3 -m venv /opt/Fitness/venv
# COPY apis/StorageSummary/requirements.txt /opt/Fitness/ # COPY apis/Fitness/requirements.txt /opt/Fitness/
RUN /opt/Fitness/venv/bin/pip3 install --no-cache-dir # RUN /opt/Fitness/venv/bin/pip3 install --no-cache-dir -r /opt/Fitness/requirements.txt
# -r /opt/Fitness/requirements.txt
# Copy the actual app code after installing deps # Copy the actual app code after installing deps
COPY api/ /opt/Fitness/ COPY api/ /opt/Fitness/