Skip to content

Commit

Permalink
Clean up (#24)
Browse files Browse the repository at this point in the history
* update poetry files

* pvnet 3.0.5

* huggingface-hub = "0.20.3"

* remove nvidia from poetry lock

* cpu specific in poetry toml

* udpate readme
  • Loading branch information
peterdudfield authored Feb 27, 2024
1 parent ac254e2 commit ec78aea
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 592 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
RUN pip install "poetry==$POETRY_VERSION"

COPY pyproject.toml poetry.lock README.md .
RUN pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
RUN poetry install --only main --no-root

COPY india_forecast_app ./india_forecast_app
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ Create a container from the image. This example runs the application and writes
Replace `{DB_URL}` with a postgres DB connection string.\
*N.B if the database host is `localhost` on the host machine, replace `localhost` with `host.docker.internal` so that docker can access the database from within the container*
```
docker run -it --rm -e DB_URL={DB_URL} -e NWP_ZARR_PATH=./nwp.zarr ocf/india-forecast-app
docker run -it --rm -e DB_URL=${DB_URL} -e NWP_ZARR_PATH=./nwp.zarr -p 5433:5433 ocf/india-forecast-app
```
Loading

0 comments on commit ec78aea

Please sign in to comment.