Spaces:
Sleeping
Sleeping
lucebert
commited on
Commit
·
f9f79fd
1
Parent(s):
351a4b4
update dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,10 +14,10 @@ ENV HOME=/home/user \
|
|
14 |
WORKDIR $HOME/app
|
15 |
|
16 |
# Copy requirements file first to leverage Docker cache
|
17 |
-
COPY --chown=user
|
18 |
|
19 |
# Install dependencies
|
20 |
-
RUN pip install --no-cache-dir --upgrade -
|
21 |
|
22 |
# Create and set permissions for chainlit files directory
|
23 |
RUN mkdir -p $HOME/app/.files && \
|
|
|
14 |
WORKDIR $HOME/app
|
15 |
|
16 |
# Copy requirements file first to leverage Docker cache
|
17 |
+
COPY --chown=user pyproject.toml .
|
18 |
|
19 |
# Install dependencies
|
20 |
+
RUN pip install --no-cache-dir --upgrade -e .
|
21 |
|
22 |
# Create and set permissions for chainlit files directory
|
23 |
RUN mkdir -p $HOME/app/.files && \
|