Skip to content

Commit

Permalink
for nik
Browse files Browse the repository at this point in the history
  • Loading branch information
robertavram authored and domdinicola committed Feb 4, 2020
1 parent bc84ef4 commit 5442415
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile.prd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM unicef/donor-reporting-portal-backend:0.6-base

COPY . /code
WORKDIR /code
RUN pip3 install . \
&& rm -fr /code

ENV PYTHONUNBUFFERED=1
ENV DJANGO_SETTINGS_MODULE=donor_reporting_portal.config.settings
Expand All @@ -11,10 +13,10 @@ ENV MEDIA_ROOT=/tmp/media

EXPOSE 8000

ADD docker/*.sh /usr/local/bin/

ENTRYPOINT ["/code/docker/entrypoint.sh"]
#ENTRYPOINT /code/docker/entrypoint.sh
ADD docker/*.sh /usr/local/bin/
ENTRYPOINT ["entrypoint.sh"]
RUN ["chmod", "+x", "/usr/local/bin/entrypoint.sh"]

WORKDIR /var/donor_reporting_portal

Expand Down

0 comments on commit 5442415

Please sign in to comment.