-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to Dockerfile and set version 1.1.0
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
FROM python:3.12.5 | ||
FROM python:3.12 | ||
LABEL [email protected] | ||
LABEL org.opencontainers.image.licenses="MIT" | ||
|
||
# Create the working directory | ||
WORKDIR /myworkdir | ||
ARG work_dir="/myworkdir" | ||
WORKDIR $work_dir | ||
|
||
# Copy source code | ||
COPY src /myworkdir/src/ | ||
COPY README.md /myworkdir/src/ | ||
COPY pyproject.toml /myworkdir/ | ||
COPY src $work_dir/src/ | ||
COPY pyproject.toml $work_dir/ | ||
|
||
# build | ||
RUN pip install --editable . | ||
RUN pip install --no-cache-dir --upgrade pip \ | ||
&& pip install --no-cache-dir . \ | ||
&& rm -r $work_dir/* | ||
COPY README.md $work_dir/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters