mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
remove poetry from dockerfile
This commit is contained in:
+2
-1
@@ -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
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user