From b1a56edc57f9e9e14fbb89ee627e7c624fdc10cb Mon Sep 17 00:00:00 2001 From: magmaus3 Date: Sun, 30 Oct 2022 11:40:49 +0100 Subject: [PATCH] Add docker --- Dockerfile | 10 ++++++++++ docker-compose.yml | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..90d20fc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.10 + +WORKDIR /app + +COPY . . + +RUN pip install . + +CMD python3 -c "import iwm_browser.main as main; main.start()" +#CMD python3 iwm_archiver/main.py diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..10f75c1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +services: + main: + ports: + - 7775:7775 + build: . + volumes: + - .:/app