Skip to content

Commit 514cedb

Browse files
committed
fix mistake in docker instructions
1 parent e535b10 commit 514cedb

4 files changed

Lines changed: 17 additions & 6 deletions

File tree

s3_reproducibility/docker.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,23 @@ beneficial for you to download.
204204
205205
1. Let's copy over our application (the essential parts) from our computer to the container:
206206

207-
```docker
208-
COPY requirements.txt requirements.txt
209-
COPY pyproject.toml pyproject.toml
210-
COPY src/ src/
211-
COPY data/ data/
212-
```
207+
=== "Using pip"
208+
209+
```docker
210+
COPY requirements.txt requirements.txt
211+
COPY pyproject.toml pyproject.toml
212+
COPY src/ src/
213+
COPY data/ data/
214+
```
215+
216+
=== "Using uv"
217+
218+
```docker
219+
COPY uv.lock uv.lock
220+
COPY pyproject.toml pyproject.toml
221+
COPY src/ src/
222+
COPY data/ data/
223+
```
213224

214225
Remember that we only want the essential parts to keep our Docker image as small as possible. Why do we need
215226
each of these files/folders to run training in our Docker container?

slides/IntroToMLOps.pdf

-1.81 MB
Binary file not shown.

slides/IntroToTheCourse.pdf

-1.37 MB
Binary file not shown.
-5.93 MB
Binary file not shown.

0 commit comments

Comments
 (0)