22 lines
294 B
Docker
22 lines
294 B
Docker
FROM python:3.8-alpine
|
|
|
|
ENV APP_ROOT /magic_app/
|
|
|
|
WORKDIR ${APP_ROOT}
|
|
COPY . ${APP_ROOT}
|
|
|
|
RUN apk add --update \
|
|
build-base \
|
|
curl \
|
|
git \
|
|
libffi-dev \
|
|
libsasl \
|
|
openssl-dev \
|
|
python3-dev
|
|
|
|
RUN pip install "poetry>=1.0.9,<2.0"
|
|
|
|
RUN poetry install \
|
|
--no-dev \
|
|
--no-interaction
|