Skip to content

Commit

Permalink
fixed docker user (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
bentheiii authored Sep 7, 2022
1 parent bf9f6d8 commit 387bef6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Heksher Changelog
## 0.5.3
### Changed
* reverted the limited user introduced in 0.5.2 since it breaks older docker systems
## 0.5.2
### Changed
* sending unknown context features in a query is no longer an error
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ RUN export APP_VERSION=$(poetry version | cut -d' ' -f2) && echo "__version__ =
ENV PYTHONPATH=${PYTHONPATH}:/usr/src/app/heksher
ENV PYTHONOPTIMIZE=1

RUN useradd --uid 10000 runner
USER 10000

CMD ["uvicorn", "heksher.main:app", "--host", "0.0.0.0", "--port", "80"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Heksher"
version = "0.5.2"
version = "0.5.3"
description = "Heksker"
authors = ["Biocatch LTD <serverteam@biocatch.com>"]

Expand Down

0 comments on commit 387bef6

Please sign in to comment.