Skip to content

Instantly share code, notes, and snippets.

@fralik
Last active July 14, 2019 20:50
Show Gist options
  • Select an option

  • Save fralik/26a0797e1cd940c89e871bccabcad982 to your computer and use it in GitHub Desktop.

Select an option

Save fralik/26a0797e1cd940c89e871bccabcad982 to your computer and use it in GitHub Desktop.
FROM python:3.7.4
ARG PIP_NO_CACHE_DIR=off
WORKDIR /app
RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
ENV PATH=/root/.poetry/bin:$PATH
COPY poetry.lock ./
COPY pyproject.toml ./
RUN poetry config settings.virtualenvs.create false
RUN poetry install -vvv --no-dev --no-interaction --no-ansi
CMD /bin/sh
[tool.poetry]
name = "sensortag"
version = "0.1.0"
description = ""
authors = ["Vadim Frolov <fralik@gmail.com>"]
packages = [
{ include = "sensortag", from = "src"},
{ include = "treeutils", from = "submodules"},
]
[tool.poetry.dependencies]
python = "^3.7"
pandas = "^0.24.2"
envparse = "^0.2.0"
[tool.poetry.dev-dependencies]
pytest = "^3.0"
[build-system]
requires = ["poetry==0.12.17"]
build-backend = "poetry.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment