Skip to content

Commit

Permalink
Merge pull request #2 from syokoysn/feature/install-poetry
Browse files Browse the repository at this point in the history
install poetry
  • Loading branch information
syokoysn committed Jul 18, 2022
2 parents 64cfa49 + 66bef66 commit a87f34f
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
FROM python:3.10-slim-buster
RUN apt-get update && apt-get install -y \
git
curl \
git

ENV PYTHONDONTWRITEBYTECODE 1 \
PYTHONUNBUFFERED 1 \
POETRY_VERSION=1.1.14

RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
ENV PATH="${PATH}:/root/.poetry/bin"

COPY pyproject.toml poetry.lock ./
RUN poetry config virtualenvs.create false \
&& poetry install
184 changes: 184 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[tool.poetry]
name = "vcbot-sample"
version = "0.1.0"
description = ""
authors = ["syokoysn <syoko_ysn@outlook.jp>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.dev-dependencies]
black = "^22.6.0"
flake8 = "^4.0.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit a87f34f

Please sign in to comment.