finished writeing compatibility with docker; untested

This commit is contained in:
Marcel Gansfusz
2025-10-24 21:19:36 +02:00
parent 98742107b2
commit 4da77c95d1
2 changed files with 6 additions and 2 deletions

4
DOCKERFILE Normal file
View File

@@ -0,0 +1,4 @@
FROM python:3
WORKDIR /usr/src/
COPY requirements.txt /usr/src/requirements.txt
RUN pip install -r requirements.txt

View File

@@ -5,7 +5,7 @@ services:
command: python -m uvicorn app.main:app --host 0.0.0.0 --port 80 command: python -m uvicorn app.main:app --host 0.0.0.0 --port 80
biuld: biuld:
context: . context: .
dockerfile: Dockerfile_app dockerfile: DOCKERFILE
volumes: volumes:
- ./app:/python - ./app:/python
- ./unizeug:/unizeug - ./unizeug:/unizeug
@@ -42,7 +42,7 @@ services:
command: python /python/init.py command: python /python/init.py
biuld: biuld:
context: . context: .
dockerfile: Dockerfile_scaner dockerfile: DOCKERFILE
volumes: volumes:
- ./app:/python - ./app:/python
- ./unizeug - ./unizeug