mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 21:18:35 +03:00
documents and simplifies how .env and .user-groups are passed to the images
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user