From 78d372776dd098a1ef314d3498ef7d33db1685e2 Mon Sep 17 00:00:00 2001 From: Tyler Allen Date: Tue, 17 Mar 2026 16:13:38 -0400 Subject: [PATCH] add migrations --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7acca14..c1a0e49c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,10 @@ RUN npm run webpack FROM docker.io/python:3.12-slim-bookworm MAINTAINER Computer Science House -RUN mkdir /opt/conditional +WORKDIR /opt/conditional COPY requirements.txt /opt/conditional -WORKDIR /opt/conditional - RUN apt-get -yq update && \ apt-get -yq install libsasl2-dev libldap2-dev libldap-common libssl-dev gcc g++ make && \ pip install -r requirements.txt && \ @@ -35,6 +33,7 @@ ENV PORT=${PORT} EXPOSE ${PORT} COPY conditional /opt/conditional/conditional +COPY migrations /opt/conditional/migrations COPY *.py package.json /opt/conditional/ COPY --from=build-frontend /opt/conditional/conditional/static/ /opt/conditional/conditional/static/