This commit is contained in:
alydev 2024-05-09 16:50:41 +10:00
commit bf6153d028
No known key found for this signature in database
GPG key ID: F4D2C7A426DDA1BD
28 changed files with 537 additions and 0 deletions

14
Dockerfile Normal file
View 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"]