Filebrowser/Dockerfile

12 lines
345 B
Docker
Raw Normal View History

2023-12-18 23:19:59 +00:00
# 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"]