Spaces:
Sleeping
Sleeping
File size: 467 Bytes
e338d50 c90bbe9 e338d50 b91f277 3149f53 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
FROM python:3.10
ENV POETRY_HOME=/opt/poetry
ENV PYTHONPATH=/root/work:/root/work/src
RUN apt update -qq && \
apt install -y build-essential \
git \
curl \
wget \
vim
RUN curl -sSL https://install.python-poetry.org | python && \
cd /usr/local/bin && \
ln -s /opt/poetry/bin/poetry && \
poetry config virtualenvs.create false
WORKDIR /root
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
|