yonikremer
commited on
Commit
•
ecb177b
1
Parent(s):
99b00d3
changed modes to read write and execute
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
FROM bitnami/pytorch
|
2 |
|
3 |
-
RUN mkdir --mode
|
4 |
WORKDIR /app/my_stramlit_app
|
5 |
|
6 |
COPY ./requirements.txt /app/my_streamlit_app/requirements.txt
|
7 |
|
8 |
RUN pip install --no-cache-dir -r /app/my_streamlit_app/requirements.txt
|
9 |
|
10 |
-
RUN mkdir --mode
|
11 |
-
RUN mkdir --mode
|
12 |
ENV HUGGINGFACE_HUB_CACHE="/app/my_streamlit_app/.cache/huggingface"
|
13 |
-
RUN mkdir --mode
|
14 |
ENV TRANSFORMERS_CACHE="/app/my_streamlit_app/.cache/transformers"
|
15 |
|
16 |
COPY . /app/my_streamlit_app/
|
|
|
1 |
FROM bitnami/pytorch
|
2 |
|
3 |
+
RUN mkdir --mode 777 /app/my_streamlit_app
|
4 |
WORKDIR /app/my_stramlit_app
|
5 |
|
6 |
COPY ./requirements.txt /app/my_streamlit_app/requirements.txt
|
7 |
|
8 |
RUN pip install --no-cache-dir -r /app/my_streamlit_app/requirements.txt
|
9 |
|
10 |
+
RUN mkdir --mode 777 "/app/my_streamlit_app/.cache/"
|
11 |
+
RUN mkdir --mode 777 "/app/my_streamlit_app/.cache/huggingface/"
|
12 |
ENV HUGGINGFACE_HUB_CACHE="/app/my_streamlit_app/.cache/huggingface"
|
13 |
+
RUN mkdir --mode 777 "/app/my_streamlit_app/.cache/transformers/"
|
14 |
ENV TRANSFORMERS_CACHE="/app/my_streamlit_app/.cache/transformers"
|
15 |
|
16 |
COPY . /app/my_streamlit_app/
|