Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ItsiW
VILF
Repository navigation
Code
Issues
4
(4)
Pull requests
3
(3)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
develop
Breadcrumbs
VILF
/
Dockerfile
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
29 lines (23 loc) · 1.25 KB
develop
Breadcrumbs
VILF
/
Dockerfile
Copy path
Top
File metadata and controls
Code
Blame
29 lines (23 loc) · 1.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# VILF admin app image, built by .github/workflows/deploy.yaml and run on Cloud Run.
# Local builds: docker build --platform linux/amd64 -t vilf-admin .
#
# Python version: every native dependency in uv.lock (pillow, pillow-heif,
# psycopg-binary, uvloop, httptools) ships a cp314 manylinux wheel today. If a
# future dependency bump has no 3.14 wheel, switch the tag below to
# ghcr.io/astral-sh/uv:python3.12-bookworm-slim (requires-python is >=3.12;
# .python-version stays 3.14 for local dev).
FROM ghcr.io/astral-sh/uv:python3.14-bookworm-slim
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_NO_DEV=1 PYTHONUNBUFFERED=1
WORKDIR /app
# Dependencies first so the layer is cached until the lock changes.
# pyproject has [tool.uv] package = false, so there is no project to install
# and --no-install-project would be a no-op.
COPY pyproject.toml uv.lock ./
RUN --mount=type=cache,target=/root/.cache/uv uv sync --locked --no-dev
# Everything else (see .dockerignore for what stays out).
COPY . .
ENV PATH=/app/.venv/bin:$PATH
# Cloud Run sends traffic to 8080; the port is fixed here, PORT from .env is a local-only default.
# app/main.py (FastAPI `app`) is written by the app package.
EXPOSE 8080
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]
You can’t perform that action at this time.