File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,20 +6,16 @@ ENV DEBIAN_FRONTEND='noninteractive'
66
77RUN apt-get update && apt install -y curl
88
9+ COPY ./README.md /app/README.md
10+
911RUN pip install poetry
1012
1113ENV PATH="${PATH}:/root/.local/bin"
1214
13- COPY ./pyproject.toml /app/pyproject.toml
14-
15- COPY ./poetry.lock /app/poetry.lock
16-
17- COPY ./README.md /app/README.md
18-
19- RUN poetry install --no-root
20-
2115COPY . /app
2216
17+ RUN poetry install
18+
2319EXPOSE 8000
2420
2521# Exposing port for celery flower
Original file line number Diff line number Diff line change @@ -6,20 +6,16 @@ ENV DEBIAN_FRONTEND='noninteractive'
66
77RUN apt-get update && apt install -y curl
88
9+ COPY ./README.md /app/README.md
10+
911RUN pip install poetry
1012
1113ENV PATH="${PATH}:/root/.local/bin"
1214
13- COPY ./pyproject.toml /app/pyproject.toml
14-
15- COPY ./poetry.lock /app/poetry.lock
16-
17- COPY ./README.md /app/README.md
18-
19- RUN poetry install --no-root
20-
2115COPY . /app
2216
17+ RUN poetry install
18+
2319EXPOSE 8000
2420
2521ENTRYPOINT ["sh", "/app/scripts/start.sh"]
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ version = "0.1.0"
44description = " database management system"
55authors = [" Your Name <you@example.com>" ]
66readme = " README.md"
7+ packages = [
8+ { include = " app" },
9+ ]
710
811[tool .poetry .dependencies ]
912python = " ^3.10"
You can’t perform that action at this time.
0 commit comments