Skip to content

Commit

Permalink
Change apine to slim contianer for TM
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Nov 3, 2023
1 parent 495582c commit 0da5fbe
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions images/tasking-manager-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.7-alpine
FROM python:3.7-slim

RUN apk update && \
apk add git
RUN apt update && \
apt install -y git

ENV workdir /usr/src/app

Expand All @@ -11,21 +11,20 @@ RUN cd $workdir && git checkout -f f0df07174f4014365220af09187b5f941f9770b0
WORKDIR $workdir

# Setup backend dependencies
RUN apk update && \
apk add \
gcc \
g++ \
make \
musl-dev \
libffi-dev \
python3-dev \
postgresql-dev \
geos-dev \
proj-util \
proj-dev
RUN apt update && apt install -y \
gcc \
g++ \
make \
libffi-dev \
python3-dev \
libpq-dev \
proj-bin && \
apt clean && \
rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip
RUN pip install wheel
# RUN pip install wheel
# RUN pip install Cython==3.0.2
RUN pip install -r requirements.txt
RUN pip install apscheduler==3.7.0

Expand Down

0 comments on commit 0da5fbe

Please sign in to comment.