diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 040d308..0000000 --- a/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM python AS metadata -LABEL maintainer="Your Name " - -FROM metadata AS workdir -WORKDIR /usr/src/PACKAGE_NAME - -FROM workdir AS poetry -RUN pip install "poetry" - -FROM poetry AS dependencies -COPY pyproject.toml ./pyproject.toml -COPY poetry.lock ./poetry.lock -RUN poetry install --no-root --no-dev - -FROM dependencies AS package -COPY . . -RUN poetry install - -FROM package AS environment -ENV PYTHONUNBUFFERED=1 - -FROM environment AS entrypoint -ENTRYPOINT ["poetry", "run", "python", "-m", "PACKAGE_NAME"] -CMD []