Skip to content

Commit

Permalink
System-wide poetry in container
Browse files Browse the repository at this point in the history
  • Loading branch information
trygveasp committed May 2, 2023
1 parent 5772ac2 commit 09631e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile_ubuntu_20_04
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ RUN apt-get install -y python3 python3-distutils curl libudunits2-dev libproj-de
# Install
COPY . .

ENV PATH="/root/.local/bin:$PATH"
ENV POETRY_HOME=/usr/local
RUN curl -sSL https://install.python-poetry.org | python3 -
RUN poetry install
RUN poetry run pytest
RUN cp /root/.local/bin/poetry /usr/bin/.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pysurfex"
version = "0.0.3.2"
version = "0.0.3.3"
description = "Python API to SURFEX"
authors = ["Trygve Aspelien"]
license = "MIT"
Expand Down

0 comments on commit 09631e0

Please sign in to comment.