Update Dockerfile for correct directory structure
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
|
@@ -68,7 +68,15 @@ WORKDIR /app
|
|
| 68 |
RUN mkdir -p api web && chown -R user:user /app
|
| 69 |
|
| 70 |
# Install Python packages globally
|
| 71 |
-
RUN pip install --no-cache-dir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
# Copy Python environment and set permissions
|
| 74 |
COPY --from=python-builder --chown=user /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
|
|
|
|
| 68 |
RUN mkdir -p api web && chown -R user:user /app
|
| 69 |
|
| 70 |
# Install Python packages globally
|
| 71 |
+
RUN pip install --no-cache-dir \
|
| 72 |
+
gunicorn \
|
| 73 |
+
gevent \
|
| 74 |
+
flask \
|
| 75 |
+
cloudscraper \
|
| 76 |
+
torch \
|
| 77 |
+
tensorflow \
|
| 78 |
+
flax \
|
| 79 |
+
transformers
|
| 80 |
|
| 81 |
# Copy Python environment and set permissions
|
| 82 |
COPY --from=python-builder --chown=user /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
|