diff --git a/Dockerfile b/Dockerfile index 243676f..2e5d105 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN --mount=type=bind,source=Pipfile,target=Pipfile,ro \ --mount=type=bind,source=Pipfile.lock,target=Pipfile.lock,ro \ pip install pipenv && pipenv install --system --deploy -COPY . . +COPY src/ . + # Attention: you need to put config.json into the container via a volume! -CMD ["python", "./main.py"] +CMD ["python3", "main.py"] diff --git a/captcha.py b/src/captcha.py similarity index 100% rename from captcha.py rename to src/captcha.py diff --git a/config.py b/src/config.py similarity index 100% rename from config.py rename to src/config.py diff --git a/constants.py b/src/constants.py similarity index 100% rename from constants.py rename to src/constants.py diff --git a/main.py b/src/main.py similarity index 100% rename from main.py rename to src/main.py diff --git a/spam.py b/src/spam.py similarity index 100% rename from spam.py rename to src/spam.py