Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -47,11 +47,11 @@ ENV HOME=/home/user \
|
|
47 |
#RUN export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
|
48 |
# Set the working directory to the user's home directory
|
49 |
WORKDIR $HOME/app
|
50 |
-
|
51 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
52 |
COPY --chown=user . $HOME/app
|
53 |
|
54 |
-
|
55 |
|
56 |
#COPY --chown=user . /home/user/.cache/huggingface/hub/models--Qwen--Qwen1.5-0.5B/snapshots/*
|
57 |
|
|
|
47 |
#RUN export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
|
48 |
# Set the working directory to the user's home directory
|
49 |
WORKDIR $HOME/app
|
50 |
+
RUN chmod -R 755 $HOME/app
|
51 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
52 |
COPY --chown=user . $HOME/app
|
53 |
|
54 |
+
COPY --chown=user . $HOME/.cache
|
55 |
|
56 |
#COPY --chown=user . /home/user/.cache/huggingface/hub/models--Qwen--Qwen1.5-0.5B/snapshots/*
|
57 |
|