From 9056b4309639f78b908efff9c307b9ebb8b33382 Mon Sep 17 00:00:00 2001 From: John Vivian Date: Thu, 28 Mar 2024 21:16:54 -1000 Subject: [PATCH] Update Dockerfile to use entrypoint correctly Fixes #75 Also force linux/amd64 build for ARM architecture b/c otherwise you get annoying build errors I don't want to deal with supporting. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fef3447..d2cdfa5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM python:3.9-slim-buster +FROM --platform=linux/amd64 python:3.9-slim-buster ENV POETRY_VERSION=1.4 \ POETRY_VIRTUALENVS_CREATE=false @@ -22,5 +22,5 @@ COPY . /code/ # Project initialization: RUN poetry install --no-interaction -ENTRYPOINT ["c19dfm"] +ENTRYPOINT ["poetry", "run", "c19dfm"] CMD ["--help"]