Skip to content

Commit

Permalink
fix: use caluma-alexandria as package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelinz committed Apr 27, 2023
1 parent 83a6e00 commit 9baec0d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.cache
CONTRIBUTING.md
README.md
.coverage
.coverage.*
docker-compose.*
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ ENV UWSGI_INI /app/uwsgi.ini
RUN pip install -U poetry

ARG INSTALL_DEV_DEPENDENCIES=false
COPY pyproject.toml poetry.lock $APP_HOME/
COPY . $APP_HOME
RUN if [ "$INSTALL_DEV_DEPENDENCIES" = "true" ]; then poetry install; else poetry install --no-dev; fi

USER alexandria

COPY . $APP_HOME

EXPOSE 8000

CMD /bin/sh -c "wait-for-it.sh $DATABASE_HOST:${DATABASE_PORT:-5432} -- poetry run python ./manage.py migrate && poetry run uwsgi"
2 changes: 1 addition & 1 deletion poetry.lock

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

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.poetry]
name = "alexandria"
name = "caluma-alexandria"
version = "0.3.0"
description = "Document management service"
repository = "https://github.com/projectcaluma/alexandria"
Expand All @@ -17,6 +17,9 @@ exclude = [
"alexandria/conftest.py",
"alexandria/**/tests",
]
packages = [
{ include = "alexandria" }
]

[tool.poetry.dependencies]
python = "^3.8.1"
Expand Down

0 comments on commit 9baec0d

Please sign in to comment.