Add container

This commit is contained in:
2023-12-18 18:19:59 -05:00
parent 22e3ceaa3a
commit 7516256ab9
3 changed files with 100 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
# Use the official Filebrowser image as a base
FROM filebrowser/filebrowser
# Copy the entrypoint script into the container
COPY ./entrypoint.sh /entrypoint.sh
# Ensure the script uses Unix line endings and is executable
RUN sed -i 's/\r$//' /entrypoint.sh && chmod +x /entrypoint.sh
# Set the entrypoint script
ENTRYPOINT ["/entrypoint.sh"]