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 . .
|
COPY . .
|
||||||
|
|
||||||
RUN mkdir -p $DATA_DIR \
|
RUN mkdir -p $DATA_DIR
|
||||||
&& adduser --disabled-password --gecos "" appuser \
|
|
||||||
&& chown -R appuser:appuser /app
|
|
||||||
|
|
||||||
USER appuser
|
|
||||||
|
|
||||||
EXPOSE 2897
|
EXPOSE 2897
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user