We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fac029 commit 7fdf1f5Copy full SHA for 7fdf1f5
frameworks/Python/litestar/litestar.dockerfile
@@ -0,0 +1,18 @@
1
+FROM python:3.13
2
+
3
+WORKDIR /litestar
4
5
+RUN python -m venv /opt/venv
6
+ENV PATH="/opt/venv/bin:$PATH"
7
8
+RUN pip3 install cython==3.0.12
9
10
+COPY requirements.txt requirements-gunicorn.txt ./
11
12
+RUN pip3 install -r requirements.txt -r requirements-gunicorn.txt
13
14
+COPY . ./
15
16
+EXPOSE 8080
17
18
+CMD gunicorn app:app -k uvicorn_worker.UvicornWorker -c litestar_conf.py
0 commit comments