mirror of
https://github.com/lkwq007/stablediffusion-infinity.git
synced 2025-01-07 03:16:54 +08:00
fix: correct workdir owner
This commit is contained in:
parent
8f44152b16
commit
e4ba1c6be3
@ -11,12 +11,12 @@ RUN apt-get update && \
|
||||
|
||||
COPY docker/opencv.pc /usr/lib/pkgconfig/opencv.pc
|
||||
|
||||
RUN useradd -ms /bin/bash user && mkdir /app && chown user:user /app
|
||||
RUN useradd -ms /bin/bash user
|
||||
USER user
|
||||
|
||||
RUN mkdir ~/.huggingface && conda init bash
|
||||
|
||||
COPY . /app
|
||||
COPY --chown=user:user . /app
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 8888
|
||||
|
Loading…
Reference in New Issue
Block a user