fix --> remove libraries gtk fromdockerfile
This commit is contained in:
20
Dockerfile
20
Dockerfile
@@ -1,5 +1,5 @@
|
|||||||
# pull official base image
|
# pull official base image
|
||||||
FROM registry.hamdocker.ir/seniorkian/python310-rasaddam:1.0.1
|
FROM registry.hamdocker.ir/seniorkian/python310-rasaddam:1.0.0
|
||||||
|
|
||||||
# Create the app directory
|
# Create the app directory
|
||||||
RUN #mkdir /app
|
RUN #mkdir /app
|
||||||
@@ -17,15 +17,15 @@ RUN pip config --user set global.index https://mirror-pypi.runflare.com/simple
|
|||||||
RUN pip config --user set global.index-url https://mirror-pypi.runflare.com/simple
|
RUN pip config --user set global.index-url https://mirror-pypi.runflare.com/simple
|
||||||
RUN pip config --user set global.trusted-host mirror-pypi.runflare.com
|
RUN pip config --user set global.trusted-host mirror-pypi.runflare.com
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
RUN apt-get update && apt-get install -y \
|
#RUN apt-get update && apt-get install -y \
|
||||||
libcairo2 \
|
# libcairo2 \
|
||||||
libpango-1.0-0 \
|
# libpango-1.0-0 \
|
||||||
libpangocairo-1.0-0 \
|
# libpangocairo-1.0-0 \
|
||||||
libgdk-pixbuf2.0-0 \
|
# libgdk-pixbuf2.0-0 \
|
||||||
libffi-dev \
|
# libffi-dev \
|
||||||
shared-mime-info \
|
# shared-mime-info \
|
||||||
fonts-dejavu \
|
# fonts-dejavu \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
# && rm -rf /var/lib/apt/lists/*
|
||||||
COPY ./requirements.txt .
|
COPY ./requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user