mirror of
https://github.com/traberph/mensa-check.git
synced 2026-10-06 18:24:45 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9064802962 |
@@ -1 +1,2 @@
|
||||
.venv
|
||||
__pycache__
|
||||
+3
-4
@@ -1,7 +1,6 @@
|
||||
FROM python:3.12
|
||||
FROM python:3.12-alpine
|
||||
WORKDIR /app
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install -r requirements.txt --no-cache-dir
|
||||
COPY src/ .
|
||||
CMD [ "fastapi", "run", "api.py" ]
|
||||
@@ -10,8 +10,8 @@ Using the allergen information on the mensa website we can check if the spätzle
|
||||
This project serves a simple [website](spaetzle.traberph.de) that checks the spätzle for you.
|
||||
|
||||
## How to run
|
||||
Simply run it with docker-compose
|
||||
Simply run it with docker compose
|
||||
|
||||
```
|
||||
docker-compose up
|
||||
docker compose up
|
||||
```
|
||||
Reference in New Issue
Block a user