This commit is contained in:
relikd
2023-05-29 15:20:07 +02:00
commit 1380b156d8
126 changed files with 3612 additions and 0 deletions

16
Dockerfile Executable file
View File

@@ -0,0 +1,16 @@
FROM python:3.8-alpine
RUN apk add --no-cache gcc libc-dev linux-headers
# install pypi packages
COPY . /django_project
RUN pip install --upgrade pip
RUN pip install ./django_project
RUN pip install uWSGI==2.0.21
COPY docker/app/uwsgi.ini /uwsgi.ini
COPY docker/app/scripts /scripts
RUN chmod -R +x /scripts
ENV PATH="/scripts:/py/bin:$PATH"
CMD ["run.sh"]