Skip to content

Commit

Permalink
Optimize images
Browse files Browse the repository at this point in the history
  • Loading branch information
aiakide committed Apr 5, 2024
1 parent 82396b4 commit 9636ccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/dagster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ENV DAGSTER_HOME=/opt/dagster/dagster_home/

# Copy your workspace to /opt/dagster/app

COPY ./docker/dagster/dagster.yaml $DAGSTER_HOME/
COPY docker/dagster/dagster.yaml $DAGSTER_HOME/


WORKDIR /opt/dagster/app
Expand Down
6 changes: 3 additions & 3 deletions docker/jupyter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ RUN --mount=type=cache,target=/root/.cache \

# copy project requirement files here to ensure they will be cached.
WORKDIR $PYSETUP_PATH
COPY ../../poetry.lock pyproject.toml ./
COPY poetry.lock pyproject.toml ./

# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
RUN --mount=type=cache,target=/root/.cache \
Expand All @@ -76,8 +76,8 @@ COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH

RUN apt-get update && apt-get install -y git

ADD ../../configs/jupyter_lab_config.py /root/.jupyter/jupyter_lab_config.py
ADD ../../configs/jupytext.toml /root/.config/jupytext.toml
ADD configs/jupyter_lab_config.py /root/.jupyter/jupyter_lab_config.py
ADD configs/jupytext.toml /root/.config/jupytext.toml

WORKDIR /workshop
EXPOSE 8888 4141
Expand Down

0 comments on commit 9636ccc

Please sign in to comment.