Skip to content

Commit

Permalink
changed code path
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Dec 26, 2021
1 parent 2017870 commit 4bc4592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ ARG VARIANT="3.9-bullseye"

FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

ARG POETRY_VERSION="1.1.8"

ENV PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
PYTHONHASHSEED=random \
Expand All @@ -18,8 +16,8 @@ ENV PYTHONFAULTHANDLER=1 \
# COPY requirements.txt /tmp/pip-tmp/
# RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
# && rm -rf /tmp/pip-tmp
RUN pip install 'poetry==${POETRY_VERSION}'
COPY poetry.lock pyproject.toml /code/
RUN pip install 'poetry==1.1.8'
COPY poetry.lock pyproject.toml ./
RUN poetry config virtualenvs.create false \
&& poetry install --no-interaction --no-ansi

Expand Down
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"VARIANT": "3.8",
"POETRY_VERSION": "1.1.8"
"VARIANT": "3.8"
}
},

Expand Down

0 comments on commit 4bc4592

Please sign in to comment.