Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Issue Nekmo#10: Add angular_django app to Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekmo committed Nov 23, 2020
1 parent 7c545ab commit 5450d27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
!demo/angular/*.json
!src/angular/projects
!src/angular/*.json
!src/django/LICENSE
!src/django/*.in
!src/django/setup.*
!src/django/angular_django
!demo/django/*.txt
!demo/django/*.py
!demo/django/demo
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ COPY demo/django/requirements.txt .
RUN pip install -r requirements.txt
COPY compose/gunicorn/entrypoint.sh /
RUN chmod +x "/entrypoint.sh"
COPY src/django /tmp/django
RUN cd /tmp/django && python setup.py install && rm -rf /tmp/django
COPY demo/django ./

ENTRYPOINT ["/entrypoint.sh"]
Expand Down

0 comments on commit 5450d27

Please sign in to comment.