Skip to content

Commit

Permalink
Update Dockerfile to use entrypoint correctly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jvivian committed Mar 29, 2024
1 parent 69ce2ed commit 9056b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -22,5 +22,5 @@ COPY . /code/
# Project initialization:
RUN poetry install --no-interaction

ENTRYPOINT ["c19dfm"]
ENTRYPOINT ["poetry", "run", "c19dfm"]
CMD ["--help"]

0 comments on commit 9056b43

Please sign in to comment.