chore: upgrade deps
This commit is contained in:
+4
-3
@@ -2,19 +2,20 @@ FROM python:3.13-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV UV_SYSTEM_PYTHON=1
|
||||
|
||||
RUN mkdir /code
|
||||
|
||||
WORKDIR /code
|
||||
COPY requirements.txt /code
|
||||
COPY pyproject.toml /code
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y gcc git nginx gettext vim libpq-dev && \
|
||||
pip install -r requirements.txt && \
|
||||
pip install uv && \
|
||||
uv pip install -r pyproject.toml && \
|
||||
apt-get autoremove -y
|
||||
|
||||
COPY . /code
|
||||
COPY nginx/nginx.conf /etc/nginx/sites-enabled/default
|
||||
|
||||
RUN ["sh", "scripts/build_static.sh"]
|
||||
CMD ["sh", "./scripts/run.sh"]
|
||||
|
||||
Reference in New Issue
Block a user