update working directory
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -13,4 +13,7 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
|
|
|
|
|
|
|
|
|
| 16 |
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860"]
|
|
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
+
|
| 17 |
+
# create the uploads directory inside the container
|
| 18 |
+
RUN mkdir -p /app/images /app/anno
|
| 19 |
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860"]
|