aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-09-12 19:51:06 +0100
committerMatthew Lemon <y@yulqen.org>2024-09-12 19:51:06 +0100
commitfc8383c528c47e6914557767be5723670c74008f (patch)
treeb6bc60348f58ad5b35657f1ecf50fe0826c24796 /Dockerfile
parentae414c59441bc985e3f8801f03e810443bc36253 (diff)
Fixes Docker files
Diffstat (limited to '')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e81a03c..35a1ffd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 \