test2 / Dockerfile
pannman
change docker enviromnment
b91f277
raw
history blame
427 Bytes
FROM python:3.10
ENV POETRY_HOME=/opt/poetry
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"]