fix: correct workdir owner

This commit is contained in:
adripo 2022-12-04 03:37:45 +01:00
parent 8f44152b16
commit e4ba1c6be3

View File

@ -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