Skip to content

Commit

Permalink
Removing the docker slim as it is failing for psycopg2 in some os
Browse files Browse the repository at this point in the history
  • Loading branch information
TransformerOptimus committed Jun 14, 2023
1 parent bea708d commit a3cb1e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.10-slim
FROM python:3.9
WORKDIR /app
COPY requirements.txt .

RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2
#RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2
RUN pip install --upgrade pip

RUN pip install --no-cache-dir -r requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions DockerfileCelery
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.10-slim
FROM python:3.9

WORKDIR /app

RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2
#RUN apt-get update && apt-get install --no-install-recommends -y git wget libpq-dev gcc python3-dev && pip install psycopg2
RUN pip install --upgrade pip

COPY requirements.txt .
Expand Down

0 comments on commit a3cb1e6

Please sign in to comment.