some fix
This commit is contained in:
@@ -2,6 +2,7 @@ FROM python:3.13-slim
|
||||
|
||||
ARG puid=1000
|
||||
ARG pgid=1000
|
||||
ARG debug=false
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
LANG=C.UTF-8 \
|
||||
@@ -40,8 +41,13 @@ RUN yarn install
|
||||
WORKDIR /app
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
COPY ./requirements.txt ./requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY requirements*.txt ./
|
||||
RUN if [ "$debug" = "true" ] ; then \
|
||||
pip install --no-cache-dir -r requirements-dev.txt ; \
|
||||
else \
|
||||
pip install --no-cache-dir -r requirements-prod.txt ; \
|
||||
fi
|
||||
|
||||
|
||||
#COPY . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user