Skip to content

Commit

Permalink
[#74] Remove Sudo and add Postgres client
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Feb 7, 2020
1 parent b72e275 commit cc12206
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions flow-api/Jobs_Uduma_ReportUpdate/Dockerfile
@@ -1,11 +1,7 @@
FROM python:3.6.6-jessie
WORKDIR /usr/src/app

RUN apt-get update && \
apt-get -y install sudo
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo<Paste>
USER docker
RUN sudo apt-get install -y postgresql-client
RUN apt-get install -y postgresql-client

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
Expand Down

0 comments on commit cc12206

Please sign in to comment.