Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,7 @@ WORKDIR /app
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
|
|
|
|
| 7 |
COPY app.py .
|
| 8 |
|
| 9 |
CMD ["sh", "-lc", "python -c \"import os; print('PORT=', os.getenv('PORT'));\" && uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]
|
|
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
|
| 7 |
+
COPY policy.json .
|
| 8 |
COPY app.py .
|
| 9 |
|
| 10 |
CMD ["sh", "-lc", "python -c \"import os; print('PORT=', os.getenv('PORT'));\" && uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]
|