remove all librarys and install just poetry
This commit is contained in:
parent
2d72647400
commit
c5275d9fd2
11
Dockerfile
11
Dockerfile
@ -1,11 +1,12 @@
|
|||||||
FROM python:3.8-alpine AS build-image
|
FROM python:3.8-alpine AS build-image
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
bash postgresql-client libpq jpeg-dev zlib-dev musl-dev \
|
gcc musl-dev libffi-dev cargo openssl-dev
|
||||||
make autoconf libtool postgresql-dev build-base g++ gcc \
|
|
||||||
unixodbc-dev freetds-dev libffi-dev czmq-dev libxml2-dev \
|
|
||||||
libxslt-dev automake cmake git openssl-dev cargo \
|
|
||||||
ffmpeg libwebp-dev libwebp
|
|
||||||
|
|
||||||
RUN /usr/local/bin/pip install poetry
|
RUN /usr/local/bin/pip install poetry
|
||||||
|
|
||||||
|
FROM python:3.8-alpine AS deploy-image
|
||||||
|
|
||||||
|
COPY --from=build-image /usr/local/bin/poetry /usr/local/bin/poetry
|
||||||
|
COPY --from=build-image /usr/local/lib/python3.8 /usr/local/lib/python3.8
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user