Skip to content

Commit

Permalink
The first release, v1.0 🥳
Browse files Browse the repository at this point in the history
  • Loading branch information
przemub committed Nov 24, 2024
1 parent 674af74 commit 3eb6044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/root/.cache/pip pip install --root-user-action ig

RUN --mount=type=cache,target=/root/.cache/pip python -m build -w
RUN --mount=type=cache,target=/root/.cache/pip \
pip install --root-user-action ignore dist/anime_quiz-0.1-py3-none-any.whl${EXTRAS}
pip install --root-user-action ignore dist/anime_quiz-1.0-py3-none-any.whl${EXTRAS}
RUN python manage.py collectstatic --no-input

FROM python:3.12 AS runtime
Expand All @@ -28,7 +28,7 @@ COPY uwsgi.cfg .
COPY --from=build /usr/src/app/dist dist
COPY --from=build /usr/src/app/static static
RUN --mount=type=cache,target=/root/.cache/pip \
pip install --root-user-action ignore dist/anime_quiz-0.1-py3-none-any.whl${EXTRAS}
pip install --root-user-action ignore dist/anime_quiz-1.0-py3-none-any.whl${EXTRAS}
RUN rm -r dist

USER app
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "anime_quiz"
version = "0.1"
version = "1.0"
requires-python = ">=3.8"
authors = [{name = "PrzemysÅ‚aw Buczkowski", email = "[email protected]"}]
description = "Anime Themes Quiz for people with taste."
Expand Down

0 comments on commit 3eb6044

Please sign in to comment.