From d2ab471831f3b5c616c3ef0705e60b528f2d14e9 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Mon, 16 Nov 2020 16:53:59 -0700 Subject: no docker --- .build.yml | 10 ++++++++++ .dockerignore | 1 - Dockerfile | 14 -------------- 3 files changed, 10 insertions(+), 15 deletions(-) create mode 100644 .build.yml delete mode 100644 .dockerignore delete mode 100644 Dockerfile diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..abfcdf1 --- /dev/null +++ b/.build.yml @@ -0,0 +1,10 @@ +image: alpine/latest +packages: + - rsync +sources: + - https://git.sr.ht/~boringcactus/crabravebot +secrets: + - b5cb9b2b-1461-4486-95e1-886451674a89 +tasks: + - deploy: | + ssh -o StrictHostKeyChecking=no services@boringcactus.com /var/www/crabravebot-test/update.sh diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 5ceb386..0000000 --- a/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -venv diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 5cd61bd..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -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 . . - -EXPOSE 8000 - -CMD [ "gunicorn", "-b", "0.0.0.0:8000", "-w", "1", "bot:app", "--log-file", "-" ] -- cgit v1.2.3