Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ RUN apk update && \
apk add supervisor && \
apk add --update py2-pip && \
apk add --no-cache bash && \
apk add --no-cache --virtual .build-deps bzip2-dev gcc libc-dev libffi-dev openssl-dev python3-dev make
apk add --no-cache --virtual .build-deps bzip2-dev gcc libc-dev libffi-dev openssl-dev python3-dev make && \
apk upgrade "expat==2.2.8-r0"

# Copy project sources
COPY . /src
Expand All @@ -16,7 +17,8 @@ COPY . /src
WORKDIR /src

# Install app dependencies and create supervisord dirs
RUN pip3 install -U -r requirements.txt && \
RUN pip3 install --upgrade pip==21.3.1 && \
pip3 install -U -r requirements.txt && \
pip3 install gunicorn==19.7.1 && \
mkdir -p /etc/supervisor/conf.d /var/log/supervisor /var/run/supervisor

Expand Down