Rebuild using Slim

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

View File

@ -1,6 +1,4 @@
FROM python:alpine FROM python:slim
RUN apk update
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,4 @@
FROM python:alpine FROM python:slim
RUN apk update
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