Spaces:
Sleeping
Sleeping
Commit ·
194b828
1
Parent(s): 0aa658d
fix: update read .env file
Browse files- .dockerignore +0 -1
- Dockerfile +2 -2
.dockerignore
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
.env
|
| 2 |
.git
|
| 3 |
.idea
|
| 4 |
.pytest_cache
|
|
|
|
|
|
|
| 1 |
.git
|
| 2 |
.idea
|
| 3 |
.pytest_cache
|
Dockerfile
CHANGED
|
@@ -8,14 +8,14 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY requirements.txt pyproject.toml README.md LICENSE ./
|
|
|
|
| 11 |
COPY adsp ./adsp
|
| 12 |
COPY scripts ./scripts
|
| 13 |
COPY data ./data
|
| 14 |
-
COPY .env ./.env
|
| 15 |
|
| 16 |
RUN python -m pip install --upgrade pip && \
|
| 17 |
pip install -r requirements.txt
|
| 18 |
|
| 19 |
EXPOSE 7860
|
| 20 |
|
| 21 |
-
CMD ["python", "scripts/
|
|
|
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
COPY requirements.txt pyproject.toml README.md LICENSE ./
|
| 11 |
+
COPY .env .env
|
| 12 |
COPY adsp ./adsp
|
| 13 |
COPY scripts ./scripts
|
| 14 |
COPY data ./data
|
|
|
|
| 15 |
|
| 16 |
RUN python -m pip install --upgrade pip && \
|
| 17 |
pip install -r requirements.txt
|
| 18 |
|
| 19 |
EXPOSE 7860
|
| 20 |
|
| 21 |
+
CMD ["python", "scripts/run_hf_space.py"]
|