Skip to content

Commit

Permalink
Updates to Dockerfile and set version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrg committed Nov 19, 2024
1 parent 270f6a4 commit 6a86a06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions Dockerfile
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/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "tola-agp-tpf-utils"
version = "1.0.0"
version = "1.1.0"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
Expand Down

0 comments on commit 6a86a06

Please sign in to comment.