Spaces:
Runtime error
Runtime error
Rename Dockerfile.py to Dockerfile
Browse files
Dockerfile.py → Dockerfile
RENAMED
|
@@ -1,6 +1,3 @@
|
|
| 1 |
-
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
-
# you will also find guides on how best to write your Dockerfile
|
| 3 |
-
|
| 4 |
FROM python:3.9
|
| 5 |
|
| 6 |
RUN useradd -m -u 1000 user
|
|
@@ -14,8 +11,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
|
| 17 |
-
# اضافه کردن مجوز اجرا به entrypoint.sh
|
| 18 |
RUN chmod +x /app/entrypoint.sh
|
| 19 |
|
| 20 |
-
# استفاده از entrypoint.sh به عنوان نقطه ورود
|
| 21 |
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
RUN useradd -m -u 1000 user
|
|
|
|
| 11 |
|
| 12 |
COPY --chown=user . /app
|
| 13 |
|
|
|
|
| 14 |
RUN chmod +x /app/entrypoint.sh
|
| 15 |
|
|
|
|
| 16 |
ENTRYPOINT ["/app/entrypoint.sh"]
|