Add containerfiles for ci and database
This commit is contained in:
parent
f7d8a1972a
commit
5f64e13e1f
2 changed files with 14 additions and 0 deletions
10
Containerfile.ci
Normal file
10
Containerfile.ci
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Build: podman build -t code.philo.ydns.eu/philorg/gisaf-backend-ci -f Containerfile.ci
|
||||
|
||||
FROM code.philo.ydns.eu/philorg/python-ci
|
||||
|
||||
COPY ./pyproject.toml ./README.md ./uv.lock /_lock/
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache <<EOT
|
||||
cd /_lock
|
||||
uv sync --locked --no-dev --no-install-project
|
||||
EOT
|
4
Containerfile.database
Normal file
4
Containerfile.database
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM docker.io/postgis/postgis:17-3.5-alpine
|
||||
|
||||
ENV POSTGRES_USER gisaf
|
||||
ENV POSTGRES_PASSWORD secret
|
Loading…
Add table
Add a link
Reference in a new issue