-
Notifications
You must be signed in to change notification settings - Fork 1
Developing with Docker
John Bradley edited this page Nov 2, 2023
·
2 revisions
To build a Docker image from the source code:
-
Clone this repository and navigate into it.
-
Build the Docker image.
docker image build -t andromeda .
- Optionally, set your environment variables in
.env
. See the section below for more information.
cp example.env .env # uses the provided example environment variables
- Run the Docker container.
docker container run --env-file .env -p 7860:7860 andromeda
- Prepare a simple Dockerfile in a Hugging Face Space. For example:
FROM ghcr.io/imageomics/andromeda:latest
If you are interested in running your own QUEST-like class with your own satellite data CSV, you could create a few line Dockerfile, add your CSV, and host your own version Andromeda on your HF account.
Settings for the app can be changed in .env
.
Options for .env
:
- BACKEND_WORKERS - number of workers used by gunicorn
- ANDROMEDA_RGB_SATELLITE_URL - URL pointing to a CSV file for joining RGB data