dont need to install python-pip in the image cuase its already got it
This commit is contained in:
parent
6656a3ecc1
commit
3ebc8e6ed2
@ -1,5 +1,5 @@
|
|||||||
FROM python:3.8 as build
|
FROM python:3.8 as build
|
||||||
RUN apt-get update && apt-get install -y gcc python-pip
|
RUN apt-get update && apt-get install -y gcc
|
||||||
|
|
||||||
ADD app/requirements.txt /requirements.txt
|
ADD app/requirements.txt /requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
FROM python:3.8 as build
|
FROM python:3.8 as build
|
||||||
RUN apt-get update && apt-get install -y gcc python-pip
|
RUN apt-get update && apt-get install -y gcc
|
||||||
|
|
||||||
ADD app/requirements.txt /requirements.txt
|
ADD app/requirements.txt /requirements.txt
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user