documents and simplifies how .env and .user-groups are passed to the images

This commit is contained in:
msramalho
2025-02-13 00:06:24 +00:00
parent df8f53ef35
commit a3b1adb28d
8 changed files with 65 additions and 37 deletions

View File

@@ -13,11 +13,10 @@ RUN pip install --no-cache-dir poetry
COPY pyproject.toml poetry.lock README.md .
RUN poetry install --with web --no-interaction --no-ansi --no-cache
# Copy the application code
# Copy the application code and configurations
COPY alembic.ini ./
COPY .env* ./app/
COPY ./secrets/ ./secrets/
COPY ./app/ ./app/
COPY user-groups.* ./app/
# Run the FastAPI app with Uvicorn
ENTRYPOINT ["poetry", "run"]