mirror of
https://github.com/Steffo99/unimore-bda-6.git
synced 2024-11-24 16:54:20 +00:00
Delete unused Dockerfile
This commit is contained in:
parent
bd754ac8ba
commit
f6233611ad
1 changed files with 0 additions and 24 deletions
24
Dockerfile
24
Dockerfile
|
@ -1,24 +0,0 @@
|
|||
FROM python AS metadata
|
||||
LABEL maintainer="Your Name <you@example.org>"
|
||||
|
||||
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 []
|
Loading…
Reference in a new issue