mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-24 23:49:41 -05:00
Co-authored-by: Aaron Ky-Riesenbach <aaron@kyriesenba.ch>
12 lines
427 B
Docker
12 lines
427 B
Docker
FROM gtstef/playwright-base
|
|
WORKDIR /app
|
|
COPY [ "./_docker/src/proxy/", "./" ]
|
|
WORKDIR /app/frontend
|
|
COPY [ "./frontend/", "./" ]
|
|
WORKDIR /app/backend/
|
|
COPY [ "./backend/filebrowser", "./"]
|
|
RUN apt update && apt install nginx -y
|
|
RUN mv default.conf /etc/nginx/conf.d/default.conf
|
|
RUN sed -i 's/filebrowser/localhost/g' /etc/nginx/conf.d/default.conf
|
|
RUN nginx & ./filebrowser & sleep 2 && cd ../frontend && npx playwright test
|