Alex Service
03/26/2022, 3:27 AMStephen Bailey
03/28/2022, 2:26 PMFROM python:3.8-slim-buster
ENV POETRY_VERSION=1.1.13
# system dependencies
RUN pip install "poetry==$POETRY_VERSION"
# copy requirements to cache in docker layer
RUN mkdir /opt/code
WORKDIR /opt/code
# Project initialization
COPY pyproject.toml poetry.lock ./
# Install poetry to ensure Python dependencies are correct
RUN poetry config virtualenvs.create false \
&& poetry install --no-dev
COPY . .
I use the dagster cloud ci/cd and mount the repo as a package, and it works greatAlex Service
03/28/2022, 2:55 PMStephen Bailey
03/28/2022, 4:28 PMyuhan
03/28/2022, 9:46 PMAlex Service
03/28/2022, 10:23 PM