fix: supress dockerfile build warnings
This commit is contained in:
parent
f27c0e9582
commit
d17ce8380d
1 changed files with 3 additions and 3 deletions
|
|
@ -4,12 +4,12 @@ ENV PYTHONUNBUFFERED=1 \
|
|||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
# Install SQLite
|
||||
RUN apt-get update && apt-get install -y sqlite3
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y sqlite3
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade pip \
|
||||
&& pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --root-user-action=ignore --no-cache-dir --upgrade pip \
|
||||
&& pip install --root-user-action=ignore --no-cache-dir -r requirements.txt
|
||||
|
||||
# Create database directory and set permissions
|
||||
RUN mkdir -p /app/data && chown -R www-data:www-data /app/data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue