use extpython-python3.9

api-refactor
dave 2021-08-28 20:18:35 -07:00
parent 0620e2642b
commit 403b49c429
1 changed files with 6 additions and 1 deletions

View File

@ -16,7 +16,12 @@ RUN cd /tmp/code && \
FROM ubuntu:focal AS app
RUN apt-get update && \
apt-get install -y python3-pip
apt-get install -y wget gnupg && \
wget -qO- http://artifact.scc.net.davepedu.com/repo/apt/extpython/dists/focal/install | bash -x /dev/stdin && \
DEBIAN_FRONTEND=noninteractive apt-get install -y extpython-python3.9 libmagic1 ffmpeg && \
rm -rf /var/lib/apt/lists/*
ENV PATH=/opt/extpython/3.9/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ADD . /tmp/code/
COPY --from=frontend /tmp/code/styles/dist/style.css /tmp/code/styles/dist/style.css