mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-26 16:39:41 -05:00
Co-authored-by: Kurami <178341547+Kurami32@users.noreply.github.com> Co-authored-by: Socramk <155040241+socramcaro2@users.noreply.github.com>
14 lines
479 B
Docker
14 lines
479 B
Docker
FROM gtstef/playwright-base
|
|
|
|
COPY [ "./_docker/src/oidc/frontend/", "./" ]
|
|
COPY [ "./frontend/tests/", "./tests" ]
|
|
|
|
WORKDIR /app/backend/
|
|
RUN mkdir -p ./http/dist
|
|
COPY [ "./_docker/src/oidc/backend/", "./"]
|
|
COPY ["./backend/filebrowser", "./"]
|
|
COPY [ "./backend/http/embed/", "./http/dist/"]
|
|
# Run tests
|
|
WORKDIR /app/frontend
|
|
RUN node mock-oidc-server.js & sleep 2 && cd ../backend/ && FILEBROWSER_NO_EMBEDED=true ./filebrowser & sleep 2 && cd ../frontend && npx playwright test
|