Skip to content

Commit

Permalink
Image
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn committed May 1, 2024
1 parent 95920fa commit f957a71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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
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.1

0 comments on commit f957a71

Please sign in to comment.