diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-12 19:51:06 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-12 19:51:06 +0100 |
commit | fc8383c528c47e6914557767be5723670c74008f (patch) | |
tree | b6bc60348f58ad5b35657f1ecf50fe0826c24796 /Dockerfile | |
parent | ae414c59441bc985e3f8801f03e810443bc36253 (diff) |
Fixes Docker files
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ FROM docker.io/python:3.12.3-slim-bookworm as python # Python build stage FROM python as python-build-stage -ARG BUILD_ENVIRONMENT=production +ARG BUILD_ENVIRONMENT=requirements # Install apt packages RUN apt-get update && apt-get install --no-install-recommends -y \ @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ libpq-dev # Requirements are installed here to ensure they will be cached. -COPY ./requirements . +COPY ./requirements.txt . # Create Python Dependency and Sub-Dependency Wheels. RUN pip wheel --wheel-dir /usr/src/app/wheels \ |