You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
245 B
Docker
15 lines
245 B
Docker
4 years ago
|
FROM python:3.7-alpine
|
||
|
|
||
|
ENV POETRY_VIRTUALENVS_CREATE=false
|
||
|
|
||
|
ADD . /tmp/
|
||
|
|
||
|
RUN cd /tmp && \
|
||
|
pip install --upgrade pip poetry && \
|
||
|
poetry install --no-dev && \
|
||
|
rm -rf *
|
||
|
|
||
|
ONBUILD ADD entrypoint-config.yml .
|
||
|
|
||
|
ENTRYPOINT ["pyentrypoint"]
|