mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-06-30 13:12:57 +00:00
16 lines
396 B
Docker
16 lines
396 B
Docker
FROM squidfunk/mkdocs-material
|
|
|
|
# Install inotify-tools for watching file changes
|
|
RUN apk add --no-cache inotify-tools
|
|
|
|
WORKDIR /build
|
|
|
|
COPY site/ /build/
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Expose the port for mkdocs serve
|
|
EXPOSE 8000
|
|
|
|
# The entrypoint will run the initial setup and then start the server.
|
|
ENTRYPOINT ["mkdocs", "serve", "-a", "0.0.0.0:8000", "--dirtyreload"]
|