feat(app/view): improve cloudnes icons filter
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user