Spaces:
Sleeping
Sleeping
nam pham
commited on
Commit
·
16a01be
1
Parent(s):
481efde
fix: permission denied
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -31,6 +31,7 @@ ENV VIRTUAL_ENV=/app/.venv \
|
|
31 |
COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
|
32 |
|
33 |
COPY --chown=user . /app
|
|
|
34 |
|
35 |
# Install litserve and requirements
|
36 |
EXPOSE 8000
|
|
|
31 |
COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
|
32 |
|
33 |
COPY --chown=user . /app
|
34 |
+
RUN mkdir -p /app/cache && chmod 777 /app/cache
|
35 |
|
36 |
# Install litserve and requirements
|
37 |
EXPOSE 8000
|