refactored docker-compose
This commit is contained in:
13
web.Dockerfile
Normal file
13
web.Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM python:3.11.4
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY poetry.lock pyproject.toml /app/
|
||||
|
||||
RUN pip install poetry
|
||||
|
||||
RUN poetry install --no-root
|
||||
|
||||
COPY .. /app
|
||||
|
||||
CMD poetry run python main_web.py
|
Reference in New Issue
Block a user