Spaces:
Runtime error
Runtime error
Commit
·
e357624
1
Parent(s):
73383e0
Adiciona .env ao .gitignore
Browse files- .gitignore +1 -0
- Dockerfile +0 -3
.gitignore
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
.env
|
|
|
|
|
|
| 1 |
.env
|
| 2 |
+
.env
|
Dockerfile
CHANGED
|
@@ -4,9 +4,6 @@ WORKDIR /app
|
|
| 4 |
|
| 5 |
COPY . /app
|
| 6 |
|
| 7 |
-
# Copiar variável de ambiente
|
| 8 |
-
ENV HUGGINGFACE_HUB_TOKEN=${HUGGINGFACE_HUB_TOKEN}
|
| 9 |
-
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 4 |
|
| 5 |
COPY . /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
|
| 9 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|