Skip to content

Commit

Permalink
dockerize and add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
clezag committed Dec 11, 2024
1 parent fe99136 commit 57aea77
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build docker image

on:
push

jobs:
runs:
runs-on: ubuntu-24.04
permissions:
packages: write
steps:
- name: Log in to Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image
uses: docker/build-push-action@v6
with:
push: true
tags: gtfs2netex:latest
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:3.13-alpine
WORKDIR /app
COPY requirements.txt .
COPY *.py .
RUN pip install -r requirements.txt
ENTRYPOINT ["python", "GTFS2NeTEx-converter.py"]
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
haversine==2.9.0
numpy==2.2.0
pandas==2.2.3
python-dateutil==2.9.0.post0
pytz==2024.2
six==1.17.0
tzdata==2024.2

0 comments on commit 57aea77

Please sign in to comment.