Skip to content

Commit 1925bb8

Browse files
committed
fix: idp image can't find templates or statics
1 parent 48f4d54 commit 1925bb8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ ENV DATABASE_URL="sqlite:////data/db.sqlite3"
5757
COPY --from=builder /opt/venv /opt/venv
5858
ENV PATH="/opt/venv/bin:$PATH"
5959
COPY --from=builder /code /code
60-
RUN mkdir -p /code/tests/app/idp/static /code/tests/app/idp/templates
60+
RUN mkdir -p /data/static /data/templates
61+
COPY --from=builder /code/tests/app/idp/static /data/static
62+
COPY --from=builder /code/tests/app/idp/templates /data/templates
63+
6164
WORKDIR /code/tests/app/idp
6265
RUN apt-get update && apt-get install -y \
6366
libpq5 \

0 commit comments

Comments
 (0)