From d0d1cd05fe2ea2c4a25b2c55a4f97141c5d3dc47 Mon Sep 17 00:00:00 2001 From: Trey t Date: Mon, 26 Jun 2023 12:26:27 -0500 Subject: [PATCH] WIP --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d6d1c0d --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file