working FastAPI in docker
This commit is contained in:
1 parent
38d4daa63a
commit
2ac6ac005a
8 files changed
+496
-158
No files matched your search
@@ -14,4 +14,17 @@ This project uses environment variables to secure sensitive information. Follow
|
||||
```text
|
||||
WIKIPEDIA_USER_AGENT="MuseumAnalytics/0.1 (your_email_address)"
|
||||
```
|
||||
⚠️ **Important:** Never commit your `.env` file to Git. It is already added to `.gitignore` to protect your secrets.
|
||||
⚠️ **Important:** Never commit your `.env` file to Git. It is already added to `.gitignore` to protect your secrets.
|
||||
|
||||
## Installation
|
||||
|
||||
1. **Make sure docker is installed: see https://docs.docker.com/get-started/get-docker/ for instructions.**
|
||||
2. **Clone the repo**
|
||||
```Bash
|
||||
git clone https://git.hanspayer.com/hpayer/museum_analytics.git
|
||||
```
|
||||
3. Build and start the museum analytics server with docker:
|
||||
```Bash
|
||||
cd ./museum_analytics
|
||||
docker build --network=host --no-cache -t museum-analytics-server .
|
||||
```
|
||||
Reference in new issue
Block a user