Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
josvandervelde committed Dec 21, 2023
1 parent 09cf01d commit b32f04e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ dev_data/ff\@ff.com/
temp_data/

.flaskenv
.pytest_cache

users.sql
node_modules
node_modules.nosync
venv
venv


.git
.github

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ dev_data/ff\@ff.com/
temp_data/

.flaskenv
.pytest_cache

users.sql
node_modules
node_modules.nosync
venv
venv
5 changes: 5 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ docker run --rm -d -p 5000:5000 --name openml-frontend openml/frontend
docker kill openml-frontend # the container doesn't seem to respond to a friendly stop request
```

To configure, you can add environment variables. See .flaskenv for the envirnoment variables. To add
the environment variables to docker, you can use `--env-file`:
```bash
docker run --rm -d -p 5000:5000 --name openml-frontend --env-file .env openml/frontend
```

## Build and publish
```bash
Expand Down

0 comments on commit b32f04e

Please sign in to comment.