Spaces:
Runtime error
Runtime error
h3110Fr13nd
commited on
Commit
·
a86d88a
1
Parent(s):
6a85226
dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -3,8 +3,8 @@ RUN ollama serve & sleep 5 && ollama pull pxlksr/defog_sqlcoder-7b-2:Q4_K
|
|
3 |
ENV HOME=/home
|
4 |
ENV DEBIAN_FRONTEND=noninteractive
|
5 |
RUN apt-get update && apt-get install -y software-properties-common
|
6 |
-
RUN add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && apt-get install -y python3.
|
7 |
COPY requirements.txt ./
|
8 |
-
RUN python3.
|
9 |
COPY . .
|
10 |
-
CMD ["python3.
|
|
|
3 |
ENV HOME=/home
|
4 |
ENV DEBIAN_FRONTEND=noninteractive
|
5 |
RUN apt-get update && apt-get install -y software-properties-common
|
6 |
+
RUN add-apt-repository -y ppa:deadsnakes/ppa && apt-get update && apt-get install -y python3.11 python3-pip python3-distutils
|
7 |
COPY requirements.txt ./
|
8 |
+
RUN python3.11 -m pip install --no-cache-dir -r requirements.txt
|
9 |
COPY . .
|
10 |
+
CMD ["python3.11", "ddl_query_generator.py"]
|