fix: run as root to allow volume mount writes
This commit is contained in:
@@ -11,11 +11,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN mkdir -p $DATA_DIR \
|
||||
&& adduser --disabled-password --gecos "" appuser \
|
||||
&& chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
RUN mkdir -p $DATA_DIR
|
||||
|
||||
EXPOSE 2897
|
||||
|
||||
|
||||
Reference in New Issue
Block a user