Skip to content

Commit 501e997

Browse files
committed
Docker image copy only relevant files
1 parent 6d2b995 commit 501e997

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ RUN python -m ensurepip --upgrade
2525
RUN pip install --no-cache-dir -r requirements.txt
2626

2727
# Copy the rest of the application code
28-
COPY . .
28+
COPY ./krr.py krr.py
29+
COPY ./robusta_krr/ robusta_krr/
30+
COPY ./intro.txt intro.txt
2931

3032
# Run the application using 'poetry run krr simple'
3133
CMD ["python", "krr.py", "simple"]

0 commit comments

Comments
 (0)