aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-01 13:19:32 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-01 13:19:32 +0200
commit26d6e73e854391012309567d398b45f9493fbc12 (patch)
tree4981dde5e1825e2ad9484d5abebb0bfaa0ccd6fb /Dockerfile
parent61223f0d1a16904866283c13acacc1992b0c6d5f (diff)
downloadreddit-nextcloud-importer-26d6e73e854391012309567d398b45f9493fbc12.tar.gz
reddit-nextcloud-importer-26d6e73e854391012309567d398b45f9493fbc12.tar.bz2
reddit-nextcloud-importer-26d6e73e854391012309567d398b45f9493fbc12.zip
feat: Moving away from docker to alpine package
Add build and publish of the package tar.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile23
1 files changed, 0 insertions, 23 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index a2f6ed8..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,23 +0,0 @@
-FROM python:3-alpine as poetry
-
-RUN apk add poetry
-COPY poetry.lock .
-COPY pyproject.toml .
-RUN poetry export -f requirements.txt --output requirements.txt
-
-
-
-FROM python:3-alpine
-
-RUN apk add --no-cache ffmpeg
-
-WORKDIR /opt
-
-COPY --from=poetry requirements.txt .
-RUN pip install -r requirements.txt
-
-ADD importer importer
-ADD main.py .
-
-
-ENTRYPOINT python main.py