Remove build essential

This commit is contained in:
Vivek Santayana 2021-08-05 23:21:27 +01:00
parent 717837661d
commit c8658fe6f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM python:alpine FROM python:alpine
RUN apk update RUN apk update
RUN apk add build-base python3 python3-pip ipython3 build-essential python-dev python3-dev RUN apk add build-base python3 python3-pip ipython3 python-dev python3-dev
COPY . /usr/src/app COPY . /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN pip install --upgrade pip RUN pip install --upgrade pip

View File

@ -1,6 +1,6 @@
FROM python:alpine FROM python:alpine
RUN apk update RUN apk update
RUN apk add build-base python3 python3-pip ipython3 build-essential python-dev python3-dev RUN apk add build-base python3 python3-pip ipython3 python-dev python3-dev
COPY . /usr/src/app COPY . /usr/src/app
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN pip install --upgrade pip RUN pip install --upgrade pip