aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-02 21:56:02 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-02 21:56:02 -0600
commit97ac6174b7b7b7321845ec995d935d010ea7baee (patch)
tree7d548a399ebfcddc123684b8090357c4e94a8a22 /Dockerfile
parent254e4b7b2675bbd11142006154b7ab97fd27349e (diff)
downloadcrabravebot-97ac6174b7b7b7321845ec995d935d010ea7baee.tar.gz
crabravebot-97ac6174b7b7b7321845ec995d935d010ea7baee.zip
docker time
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..7717584
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,12 @@
+FROM python:3.7-alpine
+
+RUN apk add --no-cache gcc libc-dev libffi-dev zlib-dev openssl-dev jpeg-dev ffmpeg freetype-dev
+
+WORKDIR /usr/src/app
+
+COPY requirements.txt ./
+RUN pip install --no-cache-dir -r requirements.txt
+
+COPY . .
+
+CMD [ "gunicorn", "-w", "1", "bot:app", "--log-file", "-" ]