Skip to content

Commit e36c3d8

Browse files
committed
fix package version in docker image
1 parent d29e804 commit e36c3d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v6
24+
with:
25+
fetch-depth: 0 # Fetch all history for tags
2426

2527
- name: Login to Docker Hub
2628
uses: docker/login-action@v3
@@ -34,3 +36,4 @@ jobs:
3436
file: ./Dockerfile
3537
push: true
3638
tags: opengisch/pum:${{ inputs.tag || github.ref_name != github.event.repository.default_branch && github.ref_name || 'latest' }}
39+
build-args: --mount 'type=volume,src=${{ github.workspace }},dst=/pum,volume-driver=local'

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.12-slim
33
ENV PYTHONDONTWRITEBYTECODE=1 \
44
PYTHONUNBUFFERED=1
55

6-
WORKDIR /app
6+
WORKDIR /pum
77

88
# Install pum (and its dependencies) from the repository.
99
COPY pyproject.toml README.md LICENSE ./

0 commit comments

Comments
 (0)