Cachinde commited on
Commit ·
893951d
1
Parent(s): 3e63e16
fix: Removido Dockerfile e cache - modo Gradio SDK nativo
Browse files- Dockerfile +0 -18
- __pycache__/ai_engine.cpython-313.pyc +0 -0
- __pycache__/app.cpython-313.pyc +0 -0
- __pycache__/catalog.cpython-313.pyc +0 -0
- __pycache__/config.cpython-313.pyc +0 -0
- __pycache__/main.cpython-313.pyc +0 -0
- __pycache__/memory.cpython-313.pyc +0 -0
- __pycache__/models.cpython-313.pyc +0 -0
Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
FROM python:3.11-slim
|
| 2 |
-
|
| 3 |
-
RUN useradd -m -u 1000 user
|
| 4 |
-
WORKDIR /app
|
| 5 |
-
|
| 6 |
-
COPY --chown=user ./requirements.txt requirements.txt
|
| 7 |
-
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 8 |
-
|
| 9 |
-
COPY --chown=user . /app
|
| 10 |
-
|
| 11 |
-
USER user
|
| 12 |
-
ENV HOME=/home/user \
|
| 13 |
-
PATH=/home/user/.local/bin: \
|
| 14 |
-
PORT=7860
|
| 15 |
-
|
| 16 |
-
EXPOSE 7860
|
| 17 |
-
|
| 18 |
-
CMD ["sh", "-c", "uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860} --workers 1 --proxy-headers"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__pycache__/ai_engine.cpython-313.pyc
DELETED
|
Binary file (5.57 kB)
|
|
|
__pycache__/app.cpython-313.pyc
DELETED
|
Binary file (4.11 kB)
|
|
|
__pycache__/catalog.cpython-313.pyc
DELETED
|
Binary file (2.94 kB)
|
|
|
__pycache__/config.cpython-313.pyc
DELETED
|
Binary file (7.35 kB)
|
|
|
__pycache__/main.cpython-313.pyc
DELETED
|
Binary file (3.3 kB)
|
|
|
__pycache__/memory.cpython-313.pyc
DELETED
|
Binary file (2.06 kB)
|
|
|
__pycache__/models.cpython-313.pyc
DELETED
|
Binary file (1.16 kB)
|
|
|