init
This commit is contained in:
commit
bf6153d028
28 changed files with 537 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM library/python:3.7.4
|
||||
RUN pip install pipenv --upgrade
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ./Pipfile /usr/src/app
|
||||
RUN pipenv lock --requirements > requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
EXPOSE 80
|
||||
COPY ./runserver.sh /usr/local/bin/
|
||||
CMD ["sh", "runserver.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue