hedrekao commited on
Commit ·
2da7e8e
1
Parent(s): a361db3
update dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -20,6 +20,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 20 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
| 21 |
|
| 22 |
# Copy project files
|
|
|
|
|
|
|
| 23 |
COPY pyproject.toml uv.lock* ./
|
| 24 |
COPY main.py app.py ./
|
| 25 |
|
|
@@ -29,7 +31,7 @@ RUN mkdir -p data output
|
|
| 29 |
# Install dependencies with uv
|
| 30 |
# --system: Install to system Python instead of creating a venv
|
| 31 |
# --no-dev: Skip dev dependencies
|
| 32 |
-
RUN uv sync --frozen --no-dev
|
| 33 |
|
| 34 |
# Expose Streamlit port (HF Spaces uses 7860)
|
| 35 |
EXPOSE 7860
|
|
|
|
| 20 |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
| 21 |
|
| 22 |
# Copy project files
|
| 23 |
+
COPY pipeline_modules/ ./pipeline_modules/
|
| 24 |
+
COPY approaches/ ./approaches/
|
| 25 |
COPY pyproject.toml uv.lock* ./
|
| 26 |
COPY main.py app.py ./
|
| 27 |
|
|
|
|
| 31 |
# Install dependencies with uv
|
| 32 |
# --system: Install to system Python instead of creating a venv
|
| 33 |
# --no-dev: Skip dev dependencies
|
| 34 |
+
RUN uv sync --frozen --no-dev --extra asr
|
| 35 |
|
| 36 |
# Expose Streamlit port (HF Spaces uses 7860)
|
| 37 |
EXPOSE 7860
|