From 3e71239636fd5415251e398780b250e60352315c Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 27 Jun 2024 14:04:10 -0400 Subject: [PATCH] Remove Procfile (not using Heroku) and add Dockerfile --- Dockerfile | 12 ++++++++++++ Procfile | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Dockerfile delete mode 100644 Procfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3aeb621 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3 + +WORKDIR /usr/src/app + +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY views ./ +COPY static ./ +COPY app.py ./ + +CMD [ "python", "./app.py" ] \ No newline at end of file diff --git a/Procfile b/Procfile deleted file mode 100644 index 997bb9f..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: gunicorn app:app --log-file -