Merge pull request #29 from edingc/main
fix: supress dockerfile build warnings
This commit is contained in:
commit
2542f10dfc
1 changed files with 3 additions and 3 deletions
|
|
@ -4,12 +4,12 @@ ENV PYTHONUNBUFFERED=1 \
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|
||||||
# Install SQLite
|
# 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
|
WORKDIR /app
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir --upgrade pip \
|
RUN pip install --root-user-action=ignore --no-cache-dir --upgrade pip \
|
||||||
&& pip install --no-cache-dir -r requirements.txt
|
&& pip install --root-user-action=ignore --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Create database directory and set permissions
|
# Create database directory and set permissions
|
||||||
RUN mkdir -p /app/data && chown -R www-data:www-data /app/data
|
RUN mkdir -p /app/data && chown -R www-data:www-data /app/data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue