remove venv install command from dockerfile
This commit is contained in:
1 parent
1c82154f60
commit
e9632c9a8d
1 file changed
+2
-3
+2
-3
@@ -21,9 +21,8 @@ COPY web/ /var/www/html/
|
||||
# API on 5000
|
||||
RUN mkdir -p /opt/Fitness
|
||||
RUN python3 -m venv /opt/Fitness/venv
|
||||
# COPY apis/StorageSummary/requirements.txt /opt/Fitness/
|
||||
RUN /opt/Fitness/venv/bin/pip3 install --no-cache-dir
|
||||
# -r /opt/Fitness/requirements.txt
|
||||
# COPY apis/Fitness/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/
|
||||
|
||||
|
||||
Reference in new issue
Block a user