Skip to content

Commit

Permalink
Use poetry in CI
Browse files Browse the repository at this point in the history
* Update CI with poetry

* Update Dockerfile
  • Loading branch information
tgrandje authored Sep 13, 2024
1 parent 1671080 commit e7d19a7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM inseefrlab/onyxia-jupyter-python:py3.10.13

USER root

# Install mapshaper
COPY docker/install-mapshaper.sh .
RUN ./install-mapshaper.sh

# Install project Python dependencies
COPY pyproject.toml
COPY poetry.lock

RUN curl https://install.python-poetry.org/ | python -
RUN poetry install --only main --no-interaction

# Create structure
COPY cartiflette ./cartiflette
COPY docker/test.py .


CMD ["python", "test.py"]

0 comments on commit e7d19a7

Please sign in to comment.