| # Use the official NocoDB image as a parent image | |
| FROM nocodb/nocodb:latest | |
| # Set the working directory | |
| WORKDIR /usr/app | |
| # NocoDB uses port 8080 by default | |
| EXPOSE 8080 | |
| # The default command is already set in the base image to start NocoDB. | |
| # You can add custom startup scripts or configurations here if needed. | |
| # For example, to copy a custom configuration file: | |
| # COPY ./custom-config /usr/app/data/custom-config | |
| # When run on Hugging Face Spaces, environment variables for database connections | |
| # or other settings can be configured in the Space settings. |