From ea0657d2665b95e7cf59f57937853d177a57ced8 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Tue, 10 Sep 2024 18:36:35 +0200 Subject: [PATCH] nuke `Dockerfile` --- Dockerfile | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index ba96af8..0000000 --- a/Dockerfile +++ /dev/null @@ -1,29 +0,0 @@ -FROM python:3.11-bookworm as pre-build - -ENV POETRY_HOME=/opt/poetry -RUN curl -sSL https://install.python-poetry.org | python3 - - -FROM pre-build as build - -WORKDIR /app - -COPY ./pyproject.toml ./ -COPY ./poetry.lock ./ - -RUN $POETRY_HOME/bin/poetry install - -COPY ./mkdocs.yml ./ -COPY ./docs ./docs -COPY ./README.md ./docs/README.md - -RUN $POETRY_HOME/bin/poetry run mkdocs build - - -FROM python:3.11-alpine as runtime - -WORKDIR /app - -COPY --from=build ./app/site ./ - -ENTRYPOINT [ "python3" ] -CMD [ "-m", "http.server", "8000" ] \ No newline at end of file