Skip to content

Commit 6662973

Browse files
committed
fix(dagster): Update dependencies. Fix Dockerfile
1 parent 0bb60bb commit 6662973

File tree

5 files changed

+110
-733
lines changed

5 files changed

+110
-733
lines changed

configs/jupytext.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[formats]
22
"dagster/" = "ipynb"
3-
"dagster/scripts/" = "py:percent"
3+
"../../dagster/scripts/" = "py:percent"

docker/dagster/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,20 @@ RUN apt-get update \
5353
build-essential
5454

5555
# install poetry - respects $POETRY_VERSION & $POETRY_HOME
56-
# The --mount will mount the buildx cache directory to where
56+
# The --mount will mount the buildx cache directory to where
5757
# Poetry and Pip store their cache so that they can re-use it
5858
RUN --mount=type=cache,target=/root/.cache \
5959
curl -sSL https://install.python-poetry.org | python3 -
6060

6161
# copy project requirement files here to ensure they will be cached.
6262
WORKDIR $PYSETUP_PATH
63-
COPY ../../poetry.lock pyproject.toml ./
63+
64+
COPY pyproject.toml ./
65+
66+
COPY poetry.lock ./
67+
68+
69+
6470

6571
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
6672
RUN --mount=type=cache,target=/root/.cache \
@@ -80,12 +86,11 @@ ENV DAGSTER_HOME=/opt/dagster/dagster_home/
8086

8187
# Copy your workspace to /opt/dagster/app
8288

83-
COPY ./docker/dagster/workspace.yaml /opt/dagster/app/
8489
COPY ./docker/dagster/dagster.yaml $DAGSTER_HOME/
8590

8691

8792
WORKDIR /opt/dagster/app
8893
EXPOSE 3000
8994
ENV SHELL="/bin/bash"
9095

91-
ENTRYPOINT ["dagster","dev","-h","0.0.0.0","-p","3000"]
96+
ENTRYPOINT ["dagster","dev","-h","0.0.0.0","-p","3000","-f","./scripts/dagster.py"]

docker/dagster/workspace.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)