Initial commit that merge both the front end and the API in the same repository
This commit is contained in:
commit
76f98b74dd
285 changed files with 51318 additions and 0 deletions
21
api/Dockerfile
Normal file
21
api/Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM python:3.5
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
# Requirements have to be pulled and installed here, otherwise caching won't work
|
||||
|
||||
COPY ./requirements.apt /requirements.apt
|
||||
RUN apt-get update -qq && grep "^[^#;]" requirements.apt | xargs apt-get install -y
|
||||
|
||||
|
||||
COPY ./requirements /requirements
|
||||
RUN pip install -r /requirements/production.txt
|
||||
|
||||
COPY . /app
|
||||
|
||||
# Since youtube-dl code is updated fairly often, we split it here
|
||||
RUN pip install --upgrade youtube-dl
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT ["./compose/django/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue