Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
changes because of other base image
Browse files Browse the repository at this point in the history
  • Loading branch information
mfa committed Jun 15, 2017
1 parent 342c82b commit 43b25b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,18 @@ EXPOSE 8010

USER root
RUN apt-get update && apt-get install -y ttf-dejavu-core
RUN easy_install3 -U pip
RUN easy_install -U pip

ADD requirements.txt /opt/code/requirements.txt
WORKDIR /opt/code
RUN pip3 install --find-links=http://pypi.qax.io/wheels/ --trusted-host pypi.qax.io -Ur requirements.txt
ADD . /opt/code

RUN chown -R uid1000: /opt
RUN chown -R 1000 /opt

WORKDIR /opt/code/banking

# uid1000 is created in aexea-base
USER uid1000
USER root

# production stuff
ENTRYPOINT ["./start.sh"]
Expand Down

0 comments on commit 43b25b6

Please sign in to comment.