mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-26 07:39:58 +00:00
Similar to how we pin base `debian` images, also pin `python` base images, so we better cache them and have reproducible builds.
10 lines
245 B
Docker
10 lines
245 B
Docker
# use base image python:3.12
|
|
FROM python:3.12@sha256:4e7024df2f2099e87d0a41893c299230d2a974c3474e681b0996f141951f9817
|
|
WORKDIR /source
|
|
|
|
COPY . .
|
|
|
|
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|
|
|
|
CMD ["python3", "pg8000_example.py"]
|