finished writeing compatibility with docker; untested
This commit is contained in:
4
DOCKERFILE
Normal file
4
DOCKERFILE
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM python:3
|
||||
WORKDIR /usr/src/
|
||||
COPY requirements.txt /usr/src/requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
command: python -m uvicorn app.main:app --host 0.0.0.0 --port 80
|
||||
biuld:
|
||||
context: .
|
||||
dockerfile: Dockerfile_app
|
||||
dockerfile: DOCKERFILE
|
||||
volumes:
|
||||
- ./app:/python
|
||||
- ./unizeug:/unizeug
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
command: python /python/init.py
|
||||
biuld:
|
||||
context: .
|
||||
dockerfile: Dockerfile_scaner
|
||||
dockerfile: DOCKERFILE
|
||||
volumes:
|
||||
- ./app:/python
|
||||
- ./unizeug
|
||||
|
||||
Reference in New Issue
Block a user