Skip to content

Commit

Permalink
fix: No virtual environment when running Docker translation compiler (#…
Browse files Browse the repository at this point in the history
…32133)

(cherry picked from commit 53d944d)
  • Loading branch information
michael-s-molina committed Feb 4, 2025
1 parent b632567 commit b80aa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ FROM python-base AS python-translation-compiler
# Install Python dependencies using docker/pip-install.sh
COPY requirements/translations.txt requirements/
RUN --mount=type=cache,target=/root/.cache/uv \
/app/docker/pip-install.sh --requires-build-essential -r requirements/translations.txt
. /app/.venv/bin/activate && /app/docker/pip-install.sh --requires-build-essential -r requirements/translations.txt

COPY superset/translations/ /app/translations_mo/
RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
Expand Down

0 comments on commit b80aa86

Please sign in to comment.