Skip to content

Commit

Permalink
fix: dockerfile dev stage
Browse files Browse the repository at this point in the history
  • Loading branch information
stevegerrits committed Feb 27, 2024
1 parent 8d2bb94 commit 98de8b5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ms-python.mypy-type-checker",
"ms-python.python",
"henriiik.vscode-ruff",
"charliermarsh.ruff",
"charliermarsh.ruff-vscode",
"ryanluker.vscode-coverage-gutters",
"tamasfe.even-better-toml",
"visualstudioexptteam.vscodeintellicode",
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ RUN sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- "--yes" && \
# && echo 'poe --help' >> ~/.zshrc \
&& zsh -c 'source ~/.zshrc'

# Copy poetry and project configuration files to the container
COPY poetry.lock* pyproject.toml /workspaces/vespadb/

# Install the project dependencies - make sure to use the virtual environment
RUN poetry install --no-root --no-interaction --no-ansi

CMD ["zsh"]

FROM base AS app
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ psycopg2 = "^2.9.9"
ipython = "^8.22.1"
drf-yasg = "^1.21.7"
djangorestframework-gis = "^1.0"
ruff = "^0.2.2"
pre-commit = "^3.6.2"

[tool.poetry.group.dev.dependencies] # https://python-poetry.org/docs/master/managing-dependencies/
coverage = { extras = ["toml"], version = ">=7.4.1" }
Expand All @@ -33,10 +33,10 @@ pre-commit = ">=3.6.2"
pytest = ">=8.0.1"
pytest-clarity = ">=1.0.1"
pytest-mock = ">=3.12.0"
ruff = ">=0.2.2"
safety = ">=2.3.5,!=2.3.5"
shellcheck-py = ">=0.9.0"
typeguard = ">=4.1.5"
ruff = "^0.2.2"

[[tool.poetry.source]] # https://python-poetry.org/docs/repositories/
name = "pypi"
Expand Down

0 comments on commit 98de8b5

Please sign in to comment.