feat(app/view): improve cloudnes icons filter

This commit is contained in:
2024-07-26 11:37:10 +03:00
parent 848b6bd9ba
commit f711b2d77b
5 changed files with 58 additions and 24 deletions

View File

@@ -10,9 +10,14 @@ RUN poetry install --with app
FROM python:3.12-slim
ENV PATH="/app/.venv/bin:$PATH"
WORKDIR /app
RUN apt update && apt install -y locales
RUN locale-gen ru_RU.UTF-8 && dpkg-reconfigure locales
RUN apt update && \
apt install -y locales && \
sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales
ENV LANG=ru_RU.UTF-8
ENV LC_ALL=ru_RU.UTF-8
COPY --from=builder /app ./
COPY gismeteo gismeteo/
COPY weather weather/
CMD ["uvicorn", "gismeteo.app:app", "--host", "0.0.0.0", "--port", "80"]
CMD ["uvicorn", "weather.app:app", "--host", "0.0.0.0", "--port", "80"]