Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "gds-idea-app-kit"
version = "0.2.0"
version = "0.2.1"
description = "CLI tool for scaffolding and maintaining GDS IDEA web apps on AWS"
readme = "README.md"
requires-python = ">=3.11"
Expand Down
8 changes: 4 additions & 4 deletions src/gds_idea_app_kit/templates/dash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ COPY --chown=$USERNAME:$USERNAME app_src/uv.loc[k] ./
# uncomment build-essential below to add C/C++ compilers:
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
git \
# build-essential \
ca-certificates \
git \
# build-essential \
&& rm -rf /var/lib/apt/lists/*

# Switch to non-root user for dependency installation
Expand All @@ -47,7 +47,7 @@ COPY --chown=$USERNAME:$USERNAME app_src/ .

EXPOSE 8080

CMD ["uv", "run", "gunicorn", "dash_app:server", "-b", "0.0.0.0:8080", "--workers", "1"]
CMD ["uv", "run", "gunicorn", "dash_app:server", "-b", "0.0.0.0:8080", "--workers", "1", "--preload", "--timeout", "120", "--no-control-socket"]

# ============================================================================
# Development stage - for dev containers (NOT DEFAULT)
Expand Down