Skip to content

Commit

Permalink
Update development dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Davis Muro committed Jan 17, 2023
1 parent 5bf29dd commit 6878a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ENV PYTHONUNBUFFERED 1
ENV DJANGO_SETTINGS_MODULE onadata.settings.docker

# Install service dependencies
# hadolint ignore=DL3008
RUN apt-get update -q &&\
apt-get install -y --no-install-recommends software-properties-common \
binutils \
Expand Down Expand Up @@ -61,14 +62,13 @@ RUN mkdir -p /srv/onadata && chown -R onadata:onadata /srv
COPY . /srv/onadata

# Install service requirements
RUN python3.9 -m pip install --no-cache-dir django-silk
# hadolint ignore=DL3013
RUN python3.9 -m pip install --no-cache-dir -U pip && \
python3.9 -m pip install --no-cache-dir -r /srv/onadata/requirements/base.pip && \
python3.9 -m pip install --no-cache-dir -r /srv/onadata/requirements/s3.pip && \
python3.9 -m pip install --no-cache-dir -r /srv/onadata/requirements/ses.pip && \
python3.9 -m pip install --no-cache-dir -r /srv/onadata/requirements/azure.pip && \
python3.9 -m pip install --no-cache-dir uwsgitop
python3.9 -m pip install --no-cache-dir uwsgitop django-silk

WORKDIR /srv/onadata

Expand Down

0 comments on commit 6878a14

Please sign in to comment.