#0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 960B done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/node:24 #2 DONE 0.4s #3 [internal] load metadata for docker.io/library/python:3.13 #3 DONE 0.6s #4 [internal] load .dockerignore #4 transferring context: 65B done #4 DONE 0.0s #5 [frontend 1/7] FROM docker.io/library/node:24@sha256:050bf2bbe33c1d6754e060bec89378a79ed831f04a7bb1a53fe45e997df7b3bb #5 DONE 0.0s #6 [stage-1 1/12] FROM docker.io/library/python:3.13@sha256:4f2d437a6b02de3c9f9aab4b90ba4bc50bd8ad825c5640c28a558c5639f6ded1 #6 resolve docker.io/library/python:3.13@sha256:4f2d437a6b02de3c9f9aab4b90ba4bc50bd8ad825c5640c28a558c5639f6ded1 0.0s done #6 DONE 0.0s #7 [internal] load build context #7 transferring context: 13.71kB done #7 DONE 0.0s #8 [stage-1 2/12] WORKDIR /app #8 CACHED #9 [frontend 3/7] COPY package.json /app/package.json #9 CACHED #10 [frontend 2/7] WORKDIR /app #10 CACHED #11 [frontend 4/7] RUN npm install #11 CACHED #12 [stage-1 3/12] COPY requirements.txt /app/requirements.txt #12 DONE 0.0s #13 [frontend 5/7] COPY . /app #13 DONE 0.1s #14 [frontend 6/7] RUN sed -i 's/baseURL: .*/baseURL: "\/api",/' src/services/api.js #14 DONE 0.2s #15 [stage-1 4/12] RUN pip install -r requirements.txt #15 2.160 Collecting asgiref==3.11.1 (from -r requirements.txt (line 1)) #15 2.245 Downloading asgiref-3.11.1-py3-none-any.whl.metadata (9.3 kB) #15 2.344 Collecting Django==6.0.3 (from -r requirements.txt (line 2)) #15 2.358 Downloading django-6.0.3-py3-none-any.whl.metadata (3.9 kB) #15 2.401 Collecting django-allauth==65.15.0 (from -r requirements.txt (line 3)) #15 2.418 Downloading django_allauth-65.15.0-py3-none-any.whl.metadata (9.2 kB) #15 2.465 Collecting django-cors-headers==4.9.0 (from -r requirements.txt (line 4)) #15 2.481 Downloading django_cors_headers-4.9.0-py3-none-any.whl.metadata (16 kB) #15 2.538 Collecting djangorestframework==3.17.0 (from -r requirements.txt (line 5)) #15 2.554 Downloading djangorestframework-3.17.0-py3-none-any.whl.metadata (7.9 kB) #15 2.597 Collecting sqlparse==0.5.5 (from -r requirements.txt (line 6)) #15 2.609 Downloading sqlparse-0.5.5-py3-none-any.whl.metadata (4.7 kB) #15 2.658 Collecting tzdata==2025.3 (from -r requirements.txt (line 7)) #15 2.673 Downloading tzdata-2025.3-py2.py3-none-any.whl.metadata (1.4 kB) #15 2.715 Collecting whitenoise==6.12.0 (from -r requirements.txt (line 8)) #15 2.729 Downloading whitenoise-6.12.0-py3-none-any.whl.metadata (3.7 kB) #15 2.770 Downloading asgiref-3.11.1-py3-none-any.whl (24 kB) #15 2.796 Downloading django-6.0.3-py3-none-any.whl (8.4 MB) #15 2.942 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.4/8.4 MB 65.5 MB/s 0:00:00 #15 2.957 Downloading django_allauth-65.15.0-py3-none-any.whl (2.0 MB) #15 2.986 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 73.5 MB/s 0:00:00 #15 2.999 Downloading django_cors_headers-4.9.0-py3-none-any.whl (12 kB) #15 3.018 Downloading djangorestframework-3.17.0-py3-none-any.whl (898 kB) #15 3.039 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 898.8/898.8 kB 42.7 MB/s 0:00:00 #15 3.051 Downloading sqlparse-0.5.5-py3-none-any.whl (46 kB) #15 3.071 Downloading tzdata-2025.3-py2.py3-none-any.whl (348 kB) #15 3.093 Downloading whitenoise-6.12.0-py3-none-any.whl (20 kB) #15 3.234 Installing collected packages: whitenoise, tzdata, sqlparse, asgiref, Django, djangorestframework, django-cors-headers, django-allauth #15 ... #16 [frontend 7/7] RUN npm run build #16 0.468 #16 0.468 > django-vue@0.2.0 build #16 0.468 > vite build #16 0.468 #16 1.274 vite v7.3.1 building client environment for production... #16 1.383 transforming... #16 3.416 ✓ 125 modules transformed. #16 3.587 rendering chunks... #16 3.768 computing gzip size... #16 3.792 dist/index.html 0.43 kB │ gzip: 0.28 kB #16 3.792 dist/static/PostRequestView-CcCYPZEL.css 2.31 kB │ gzip: 0.83 kB #16 3.792 dist/static/CreateOfferView-B-z39U30.css 2.42 kB │ gzip: 0.87 kB #16 3.792 dist/static/RegisterView-DkCYZl_O.css 2.66 kB │ gzip: 0.93 kB #16 3.792 dist/static/LoginView-eN2rRIQi.css 2.92 kB │ gzip: 0.96 kB #16 3.792 dist/static/MessagesView-DTsUrEVO.css 3.08 kB │ gzip: 1.02 kB #16 3.792 dist/static/OffersListView-BFxfTWY7.css 3.79 kB │ gzip: 1.20 kB #16 3.792 dist/static/ProfileView-DBaR8GUh.css 4.05 kB │ gzip: 1.19 kB #16 3.792 dist/static/ConversationView-CWSw-eRP.css 4.36 kB │ gzip: 1.30 kB #16 3.792 dist/static/TutorProfileView-nZ2ts4Ab.css 4.80 kB │ gzip: 1.35 kB #16 3.792 dist/static/ApplicationsManagementView-CRUyth8-.css 5.66 kB │ gzip: 1.59 kB #16 3.792 dist/static/StudentRequestsView-BFn0f8X6.css 6.16 kB │ gzip: 1.63 kB #16 3.792 dist/static/ManageRequestsView-D1Lhw9dQ.css 6.35 kB │ gzip: 1.69 kB #16 3.792 dist/static/TutorsListView-2zYD7Kh2.css 6.79 kB │ gzip: 1.81 kB #16 3.792 dist/static/index-BqV090Ut.css 20.56 kB │ gzip: 4.45 kB #16 3.792 dist/static/studentRequestService-CARz6Twy.js 0.49 kB │ gzip: 0.23 kB #16 3.792 dist/static/offerService-M8L3CrzC.js 0.77 kB │ gzip: 0.35 kB #16 3.792 dist/static/PostRequestView-DZyYAT-Z.js 2.63 kB │ gzip: 1.29 kB #16 3.792 dist/static/MessagesView-BXiXhK0Q.js 2.86 kB │ gzip: 1.36 kB #16 3.792 dist/static/CreateOfferView-CN2_6XWZ.js 2.99 kB │ gzip: 1.37 kB #16 3.792 dist/static/LoginView-CqJj5FXS.js 3.16 kB │ gzip: 1.45 kB #16 3.792 dist/static/ManageOffersView-MgMQ1I1R.js 3.66 kB │ gzip: 1.56 kB #16 3.792 dist/static/StudentRequestsView-ByuyVRmR.js 3.72 kB │ gzip: 1.75 kB #16 3.792 dist/static/ConversationView-9olAlebT.js 3.89 kB │ gzip: 1.75 kB #16 3.792 dist/static/ProfileView-W9ND5408.js 4.21 kB │ gzip: 1.92 kB #16 3.792 dist/static/RegisterView-DuHSLSpR.js 4.76 kB │ gzip: 1.65 kB #16 3.792 dist/static/ApplicationsManagementView-DPF5oc6j.js 6.08 kB │ gzip: 2.20 kB #16 3.792 dist/static/TutorsListView-1LRL6iTJ.js 6.10 kB │ gzip: 2.51 kB #16 3.792 dist/static/OffersListView-MNQ8fsB1.js 6.20 kB │ gzip: 2.56 kB #16 3.792 dist/static/TutorProfileView-p44x573u.js 6.42 kB │ gzip: 2.54 kB #16 3.792 dist/static/ManageRequestsView-CiBPbkPn.js 6.50 kB │ gzip: 2.55 kB #16 3.792 dist/static/index-OP3iGm8V.js 178.23 kB │ gzip: 65.11 kB #16 3.792 ✓ built in 2.48s #16 DONE 4.1s #15 [stage-1 4/12] RUN pip install -r requirements.txt #15 7.072 #15 7.074 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. #15 7.075 Successfully installed Django-6.0.3 asgiref-3.11.1 django-allauth-65.15.0 django-cors-headers-4.9.0 djangorestframework-3.17.0 sqlparse-0.5.5 tzdata-2025.3 whitenoise-6.12.0 #15 7.221 #15 7.221 [notice] A new release of pip is available: 26.0.1 -> 26.1.1 #15 7.221 [notice] To update, run: pip install --upgrade pip #15 DONE 7.5s #17 [stage-1 5/12] COPY . /app #17 DONE 0.1s #18 [stage-1 6/12] RUN sed -i '/django.middleware.clickjacking.XFrameOptionsMiddleware/d' backend/settings/base.py #18 DONE 0.3s #19 [stage-1 7/12] COPY --from=frontend /app/dist /app/dist #19 DONE 0.0s #20 [stage-1 8/12] RUN mv build.html dist/static/build.html #20 DONE 0.3s #21 [stage-1 9/12] RUN python manage.py migrate #21 0.905 SystemCheckError: System check identified some issues: #21 0.905 #21 0.905 ERRORS: #21 0.905 api.Profile.avatar: (fields.E210) Cannot use ImageField because Pillow is not installed. #21 0.905 HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "python -m pip install Pillow". #21 ERROR: process "/bin/sh -c python manage.py migrate" did not complete successfully: exit code: 1 ------ > [stage-1 9/12] RUN python manage.py migrate: 0.905 SystemCheckError: System check identified some issues: 0.905 0.905 ERRORS: 0.905 api.Profile.avatar: (fields.E210) Cannot use ImageField because Pillow is not installed. 0.905 HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "python -m pip install Pillow". ------ 2 warnings found (use docker --debug to expand):  - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "DJANGO_SUPERUSER_PASSWORD") (line 12) - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 26) Dockerfile:22 -------------------- 20 | COPY --from=frontend /app/dist /app/dist 21 | RUN mv build.html dist/static/build.html 22 | >>> RUN python manage.py migrate 23 | RUN python manage.py loaddata ./backend/*/*fixture*/*.json; exit 0 24 | RUN python manage.py createsuperuser --no-input -------------------- ERROR: failed to build: failed to solve: process "/bin/sh -c python manage.py migrate" did not complete successfully: exit code: 1