Spaces:
Build error
Build error
:boom: [Fix] [Errno 13] Permission denied: '/.cache'
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
FROM python:3.11-slim
|
2 |
WORKDIR $HOME/app
|
3 |
COPY . .
|
|
|
4 |
RUN pip install -r requirements.txt
|
5 |
VOLUME /data
|
6 |
EXPOSE 23333
|
|
|
1 |
FROM python:3.11-slim
|
2 |
WORKDIR $HOME/app
|
3 |
COPY . .
|
4 |
+
RUN mkdir /.cache && chmod 777 /.cache
|
5 |
RUN pip install -r requirements.txt
|
6 |
VOLUME /data
|
7 |
EXPOSE 23333
|