aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-10-03 19:50:12 +0100
committerGravatar Chris Lovering <[email protected]>2024-10-03 22:06:39 +0100
commitf726695b1a1d99b5c61ea09bd3a364103a08d7bf (patch)
treee413a3b771da56fbb6516d02920c8061612c3d03 /Dockerfile
parentCorrect spelling in test cases (diff)
Update all references to /lang to /snekbin
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index ed198c4..cb99026 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -54,11 +54,11 @@ RUN apt-get -y update \
&& rm -rf /var/lib/apt/lists/*
COPY --link --from=builder-nsjail /nsjail/nsjail /usr/sbin/
-COPY --link --from=builder-py-3_12 /lang/ /lang/
-COPY --link --from=builder-py-3_13 /lang/ /lang/
+COPY --link --from=builder-py-3_12 /snekbin/ /snekbin/
+COPY --link --from=builder-py-3_13 /snekbin/ /snekbin/
RUN chmod +x /usr/sbin/nsjail \
- && ln -s /lang/python/3.12/ /lang/python/default
+ && ln -s /snekbin/python/3.12/ /snekbin/python/default
# ------------------------------------------------------------------------------
FROM base as venv
@@ -79,7 +79,7 @@ RUN if [ -n "${DEV}" ]; \
then \
pip install -U -r requirements/coverage.pip \
&& export PYTHONUSERBASE=/snekbox/user_base \
- && /lang/python/default/bin/python -m pip install --user numpy~=1.19; \
+ && /snekbin/python/default/bin/python -m pip install --user numpy~=1.19; \
fi
# At the end to avoid re-installing dependencies when only a config changes.