diff --git a/Containerfile b/Containerfile index 87a99de..e362a00 100644 --- a/Containerfile +++ b/Containerfile @@ -7,7 +7,4 @@ COPY src/ src/ RUN pip install --no-cache-dir . -COPY plugins/ plugins/ -COPY config/derp.toml.example config/derp.toml.example - ENTRYPOINT ["derp"] diff --git a/Makefile b/Makefile index 5ca51a4..f463819 100644 --- a/Makefile +++ b/Makefile @@ -42,9 +42,10 @@ link: install ## Symlink to ~/.local/bin build: ## Build container image podman build -t $(APP_NAME) . -container-run: ## Run bot in container (mount config) +container-run: ## Run bot in container (mount config + plugins) podman run -d --name $(APP_NAME) \ -v ./config/derp.toml:/app/config/derp.toml:ro,Z \ + -v ./plugins:/app/plugins:ro,Z \ $(APP_NAME) container-stop: ## Stop and remove container