remove poetry from dockerfile

This commit is contained in:
mungai-njoroge
2024-03-24 19:14:29 +03:00
parent ed6732e7fd
commit 21ba84c034
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -39,4 +39,5 @@ RUN pip install -r requirements.txt
RUN apt-get update && apt-get install -y ffmpeg libavcodec-extra RUN apt-get update && apt-get install -y ffmpeg libavcodec-extra
ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"] # ENTRYPOINT ["poetry", "run", "python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
ENTRYPOINT ["python", "manage.py", "--host", "0.0.0.0", "--config", "/config"]
+1 -1
View File
@@ -55,7 +55,7 @@ def create_api():
description=open_api_description, description=open_api_description,
) )
app = OpenAPI(__name__, info=api_info) app = OpenAPI(__name__, info=api_info, doc_prefix="/docs")
CORS(app, origins="*") CORS(app, origins="*")
Compress(app) Compress(app)