improve dockerfiles and adjust code paths

This commit is contained in:
2025-08-02 21:37:02 +02:00
parent d1999b904d
commit a62a1d8141
6 changed files with 46 additions and 40 deletions

View File

@@ -1,7 +1,12 @@
FROM mcr.microsoft.com/playwright:v1.54.0-noble
ARG APP
ENV APP=$APP
ENV PYTHONPATH=/apps/$APP/src/:/shared/src/:$PYTHONPATH
ENV PATH="/venv/bin:/root/.local/bin:$PATH"
WORKDIR /opt/dagster/home
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
uv python install 3.12 && \
uv venv /venv
@@ -16,10 +21,7 @@ RUN . /venv/bin/activate && \
uv pip install playwright && \
playwright install
ARG APP
ENV APP=$APP
ENV PYTHONPATH=/apps/$APP/src/:/shared/src/:$PYTHONPATH
WORKDIR /opt/dagster/home
# Run dagster gRPC server on port 4000
EXPOSE 4000