|
1 | | -# syntax=docker/dockerfile:1.4 |
| 1 | +# syntax=docker/dockerfile:1 |
2 | 2 | FROM docker.io/ubuntu:24.04 |
3 | 3 |
|
4 | 4 | ARG DEBIAN_FRONTEND=noninteractive |
@@ -34,18 +34,18 @@ ENV PATH=/openedx/venv/bin:${PATH} |
34 | 34 | # https://pypi.org/project/setuptools/ |
35 | 35 | # https://pypi.org/project/pip/ |
36 | 36 | # https://pypi.org/project/wheel/ |
37 | | -RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install setuptools==75.2.0 pip==24.2 wheel==0.44.0 |
| 37 | +RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install setuptools==78.1.0 pip==25.0.1 wheel==0.46.0 |
38 | 38 | RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install -r requirements.txt |
39 | | -RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install uwsgi==2.0.25.1 |
| 39 | +RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared pip install uwsgi==2.0.28 |
40 | 40 |
|
41 | 41 | RUN mkdir /openedx/data /openedx/data/media |
42 | 42 |
|
43 | 43 | EXPOSE 8000 |
44 | | -CMD uwsgi \ |
45 | | - --static-map /media=/openedx/data/media/ \ |
46 | | - --http 0.0.0.0:8000 \ |
47 | | - --thunder-lock \ |
48 | | - --single-interpreter \ |
49 | | - --enable-threads \ |
50 | | - --processes=2 \ |
51 | | - --wsgi-file xqueue/wsgi.py |
| 44 | +CMD ["uwsgi", \ |
| 45 | + "--static-map", "/media=/openedx/data/media/", \ |
| 46 | + "--http", "0.0.0.0:8000", \ |
| 47 | + "--thunder-lock", \ |
| 48 | + "--single-interpreter", \ |
| 49 | + "--enable-threads", \ |
| 50 | + "--processes=2", \ |
| 51 | + "--wsgi-file", "xqueue/wsgi.py"] |
0 commit comments