limited-insurance-37393
05/31/2022, 6:04 PMdocker_image(
name="ol-dagster-daemon",
dependencies=[
"//:requirements#dagster",
"//:requirements#dagster-postgres",
],
instructions=[
"FROM python:3.9-slim",
"WORKDIR /opt",
"COPY . .",
]
)
limited-insurance-37393
05/31/2022, 6:33 PMwitty-crayon-22786
05/31/2022, 7:23 PMlimited-insurance-37393
05/31/2022, 7:26 PMwitty-crayon-22786
05/31/2022, 7:26 PMpex_binary
currently), and then make the package a direct dependency of the docker image.
you might have been expecting that these deps would be installed in a virtualenv inside the image, perhaps? but currently, you’d need to package, and then extract into a virtualenv inside the imagelimited-insurance-37393
05/31/2022, 7:27 PMlimited-insurance-37393
05/31/2022, 8:05 PMpex_binary
target that relies on those third party dependencies and give it the entrypoint that I would use for the Docker execution?hundreds-father-404
05/31/2022, 8:06 PMlimited-insurance-37393
05/31/2022, 8:07 PMcurved-television-6568
05/31/2022, 8:56 PM