Update Dockerfile
Browse files- Dockerfile +8 -5
Dockerfile
CHANGED
@@ -13,14 +13,17 @@ ENV LOG_LEVEL="info"
|
|
13 |
ENV PORT="7860"
|
14 |
|
15 |
# Install Poetry
|
16 |
-
RUN pip install --user poetry tiktoken==0.4.0 fastapi==0.95.1 uvicorn==0.22.0 httpx==0.24.0 socksio==1.0.0
|
|
|
17 |
|
18 |
-
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
|
19 |
|
20 |
RUN poetry install --only main
|
21 |
-
RUN mkdir -p /.cache && \
|
22 |
-
|
23 |
-
|
24 |
|
25 |
# Expose the port the app runs on
|
26 |
EXPOSE 7860
|
|
|
13 |
ENV PORT="7860"
|
14 |
|
15 |
# Install Poetry
|
16 |
+
# RUN pip install --user poetry tiktoken==0.4.0 fastapi==0.95.1 uvicorn==0.22.0 httpx==0.24.0 socksio==1.0.0
|
17 |
+
RUN pip install poetry
|
18 |
|
19 |
+
# ENV PATH="/root/.local/bin:$PATH"
|
20 |
+
|
21 |
+
RUN id
|
22 |
|
23 |
RUN poetry install --only main
|
24 |
+
# RUN mkdir -p /.cache && \
|
25 |
+
# chmod -R 777 /.cache /root/.local && \
|
26 |
+
# chown -R 1000:0 "/root/.local" "/usr/local" "/.cache"
|
27 |
|
28 |
# Expose the port the app runs on
|
29 |
EXPOSE 7860
|