ref: Makefile & scripts

This commit is contained in:
relikd
2023-05-29 18:19:22 +02:00
parent e9f15fb799
commit 1d37d724e5
7 changed files with 13 additions and 10 deletions

View File

@@ -5,12 +5,12 @@ 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 /django_project
RUN pip install uWSGI==2.0.21
COPY docker/app/uwsgi.ini /uwsgi.ini
COPY docker/app/scripts /scripts
COPY ./docker/uwsgi.ini /uwsgi.ini
COPY ./scripts /scripts
RUN chmod -R +x /scripts
ENV PATH="/scripts:/py/bin:$PATH"
CMD ["run.sh"]
CMD ["on-deploy.sh"]