Skip to content

Commit

Permalink
add ! uwsgi to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vitali-yanushchyk-valor committed Dec 3, 2024
1 parent c299ab1 commit 11bdf0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ LABEL distro="test"
COPY . /code
WORKDIR /code

RUN pip install uv
# uwsgi
RUN pip install uv uwsgi

RUN --mount=type=cache,target=/root/.uv-cache \
uv sync -v \
Expand Down Expand Up @@ -172,15 +171,14 @@ COPY docker/conf/config.toml /etc/xdg/pdm/config.toml
COPY . /code
WORKDIR /code

RUN pip install uv
# uwsgi
RUN pip install uv uwsgi

RUN --mount=type=cache,target=/root/.uv-cache \
uv sync -v \
--cache-dir=/root/.uv-cache \
--python=/usr/local/bin/python \
--python-preference=system \
--no-dev --no-editable --frozen --extra distribution
--no-dev --no-editable --frozen


# ------------- dist -------------
Expand Down
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ docs = [
"mkdocs-gen-files>=0.5.0",
]

distribution = [
"uwsgi>=2.0.27",
]

[tool.uv]
package = true
dev-dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion src/hope_dedup_engine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from hope_dedup_engine.config.celery import app as celery_app

VERSION = __version__ = "0.3.0"
VERSION = __version__ = "0.2.0"

__all__ = ("celery_app",)
4 changes: 0 additions & 4 deletions uv.lock

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

0 comments on commit 11bdf0b

Please sign in to comment.