fix: no root added for install only dependencies
All checks were successful
deploy / deploy (push) Successful in 49s

This commit is contained in:
Stepan Vladovskiy 2025-02-12 19:58:36 -03:00
parent 0a2ca2d231
commit 5ad7ff8265
2 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,7 @@ COPY . /app
RUN apk update && apk add --no-cache git gcc curl RUN apk update && apk add --no-cache git gcc curl
RUN curl -sSL https://install.python-poetry.org | python RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="${PATH}:/root/.local/bin" ENV PATH="${PATH}:/root/.local/bin"
RUN poetry config virtualenvs.create false && poetry install --without dev RUN poetry config virtualenvs.create false && poetry install --without dev --no-root
EXPOSE 8000 EXPOSE 8000

View File

@ -3,9 +3,6 @@ name = "discoursio-inbox"
version = "0.3.2" version = "0.3.2"
description = "Inbox server for discours.io" description = "Inbox server for discours.io"
authors = ["Tony Rewin <anton.rewin@gmail.com>"] authors = ["Tony Rewin <anton.rewin@gmail.com>"]
packages = [
{ include = "inbox" }
]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.12" python = "^3.12"