dokku shit

This commit is contained in:
Trey t
2023-06-26 10:24:35 -05:00
parent 6e302bf860
commit 4ab091d610
12 changed files with 296 additions and 8 deletions

21
dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# syntax=docker/dockerfile:1
FROM python:3.9.13
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN apt-get update
RUN apt-get install -y swig libssl-dev dpkg-dev netcat
RUN pip install -U pip
# Add the Dokku-specific files to their locations.
ADD misc/dokku/CHECKS /app/
ADD misc/dokku/* /code/
WORKDIR /code
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/
RUN /code/manage.py collectstatic --noinput