Skip to content

Commit 78d3727

Browse files
authored
add migrations
1 parent 249edd9 commit 78d3727

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ RUN npm run webpack
1919
FROM docker.io/python:3.12-slim-bookworm
2020
MAINTAINER Computer Science House <webmaster@csh.rit.edu>
2121

22-
RUN mkdir /opt/conditional
22+
WORKDIR /opt/conditional
2323

2424
COPY requirements.txt /opt/conditional
2525

26-
WORKDIR /opt/conditional
27-
2826
RUN apt-get -yq update && \
2927
apt-get -yq install libsasl2-dev libldap2-dev libldap-common libssl-dev gcc g++ make && \
3028
pip install -r requirements.txt && \
@@ -35,6 +33,7 @@ ENV PORT=${PORT}
3533
EXPOSE ${PORT}
3634

3735
COPY conditional /opt/conditional/conditional
36+
COPY migrations /opt/conditional/migrations
3837
COPY *.py package.json /opt/conditional/
3938
COPY --from=build-frontend /opt/conditional/conditional/static/ /opt/conditional/conditional/static/
4039

0 commit comments

Comments
 (0)