Skip to content

Commit

Permalink
return makemessages, upgrade uwsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
hnthh authored Mar 16, 2024
1 parent c1b8f19 commit 51c3839
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion {{ cookiecutter.name }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG PYTHON_VERSION

FROM python:${PYTHON_VERSION}-slim-bookworm as uwsgi-compile

ENV _UWSGI_VERSION 2.0.23
ENV _UWSGI_VERSION 2.0.24

RUN apt-get update && apt-get --no-install-recommends install -y build-essential wget && rm -rf /var/lib/apt/lists/*
RUN wget -O uwsgi-${_UWSGI_VERSION}.tar.gz https://github.com/unbit/uwsgi/archive/${_UWSGI_VERSION}.tar.gz \
Expand Down Expand Up @@ -39,6 +39,7 @@ RUN pip install --no-cache-dir -r requirements.txt
WORKDIR /src
COPY src /src

RUN ./manage.py makemessages --locale ru
RUN ./manage.py compilemessages
RUN ./manage.py collectstatic --noinput

Expand Down

0 comments on commit 51c3839

Please sign in to comment.