Skip to content

Commit fa36ea9

Browse files
authored
Fix missed setuptools in prod dockerfile (#42)
Nazarii <[email protected]>
1 parent 3372d37 commit fa36ea9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docker/prod/web/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ WORKDIR $APP_HOME
3838
COPY --from=builder $WHEELS_PATH $WHEELS_PATH
3939
COPY ./web/setup.cfg ./web/pyproject.toml ./
4040
COPY ./web/src/requirements ./src/requirements
41-
RUN pip install --no-build-isolation --no-index --find-links=$WHEELS_PATH --editable .[production] && \
41+
RUN pip install --upgrade pip setuptools && \
42+
pip install --no-build-isolation --no-index --find-links=$WHEELS_PATH --editable .[production] && \
4243
rm -rf $WHEELS_PATH
4344

4445
COPY --chown=$USER:$USER ./docker/prod/web/entrypoint.sh /

web/setup.cfg

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[metadata]
22
name = django-template
3-
description = Django template in docker with docker-compose
3+
description = Django template
44
author = Nazarii Romanchenko
55
url = https://github.com/bandirom/django-template
66
classifiers =
77
Environment :: Web Environment
88
Framework :: Django
9-
Framework :: Django :: 4.1
9+
Framework :: Django :: 4.2
1010
Intended Audience :: Developers
1111
License :: OSI Approved :: MIT License
1212
Operating System :: OS Independent
@@ -15,9 +15,12 @@ classifiers =
1515
Programming Language :: Python :: 3 :: Only
1616
Programming Language :: Python :: 3.10
1717
Programming Language :: Python :: 3.11
18+
Programming Language :: Python :: 3.12
19+
Programming Language :: Python :: 3.13
1820
Topic :: Internet :: WWW/HTTP
1921
Topic :: Internet :: WWW/HTTP :: Dynamic Content
2022
Topic :: Internet :: WWW/HTTP :: WSGI
23+
Topic :: Internet :: WWW/HTTP :: ASGI
2124

2225
[options]
2326
packages = find:

0 commit comments

Comments
 (0)