File tree 3 files changed +8
-12
lines changed
3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
- # Use an official Python runtime as a parent image
2
- FROM python:3.11-slim
1
+ FROM --platform=linux/arm64/v8 python:3.11-slim
3
2
4
- # Set the working directory in the container
5
3
WORKDIR /pdl
6
4
7
- # Copy the current directory contents into the container at /app
8
- COPY . /pdl
5
+ RUN apt-get update && apt-get install -y git
9
6
10
- # Install any needed dependencies specified in requirements.txt
11
- RUN pip install .
12
- RUN pip install '.[all]'
7
+ COPY . /pdl
13
8
9
+ RUN pip install prompt-declaration-language
10
+ RUN pip install prompt-declaration-language[examples]
14
11
15
- # Run app.py when the container launches
16
- ENTRYPOINT ["pdl"]
12
+ ENTRYPOINT ["pdl"]
Original file line number Diff line number Diff line change 48
48
except wikipedia.WikipediaException as e:
49
49
result = str(e)
50
50
until: ${ action.name != "Search" }
51
- - "\n"
51
+
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ def main():
244
244
watsonx_project_id ,
245
245
"--rm" ,
246
246
"-it" ,
247
- "pdl" ,
247
+ "quay.io/project_pdl/ pdl" ,
248
248
* args ,
249
249
],
250
250
check = True ,
You can’t perform that action at this time.
0 commit comments