diff --git a/image/Dockerfile b/image/Dockerfile index 8e3180f..2ec7f25 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,15 +1,13 @@ FROM python:3.12 VOLUME /data/workdir +VOLUME /data/.pulumi VOLUME /data/backend ENV PULUMI_CONFIG_PASSPHRASE="" ENV VIRTUAL_ENV="/pulumi_venv" ENV PATH=/root/.pulumi/bin:$VIRTUAL_ENV/bin:$PATH -ENV PULUMI_HOME=/data/.pulumi RUN curl -fsSL https://get.pulumi.com | sh RUN --mount=id=root,type=cache,target=/root,sharing=shared \ python -m venv --without-pip "$VIRTUAL_ENV" && \ curl -sSLf https://bootstrap.pypa.io/get-pip.py | python - && \ - pip install "sparecores-runner>=0.0.26" && \ - for i in azure-native aws gcp; do pulumi plugin install resource $i; done -VOLUME /data/.pulumi + pip install "sparecores-runner>=0.0.26" ENTRYPOINT sc-runner \ No newline at end of file