Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -9,11 +9,8 @@ WORKDIR /app
|
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
|
| 12 |
-
# کپی کردن فایلهای اسکریپت و اعمال مجوز
|
| 13 |
-
COPY --chown=user entrypoint.sh /app/entrypoint.sh
|
| 14 |
-
RUN chmod +x /app/entrypoint.sh
|
| 15 |
-
|
| 16 |
-
# کپی کردن بقیه فایلها
|
| 17 |
COPY --chown=user . /app
|
| 18 |
|
|
|
|
|
|
|
| 19 |
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
|
|
| 9 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 10 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
COPY --chown=user . /app
|
| 13 |
|
| 14 |
+
RUN chmod +x /app/entrypoint.sh
|
| 15 |
+
|
| 16 |
ENTRYPOINT ["/app/entrypoint.sh"]
|