fix: use --no-root to skip package installation in Docker
This commit is contained in:
@@ -7,7 +7,7 @@ WORKDIR /app
|
||||
RUN pip install poetry
|
||||
|
||||
COPY pyproject.toml poetry.lock README.md ./
|
||||
RUN poetry install --without dev --no-interaction
|
||||
RUN poetry install --without dev --no-interaction --no-root
|
||||
|
||||
COPY src/ ./src/
|
||||
COPY .env.example .env
|
||||
|
||||
Reference in New Issue
Block a user