File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,14 @@ COPY --from=frontend --chown=nobody:nogroup /app/static_frontend/css/*.css /app/
223223# generate language files
224224RUN python3 bin/pofiles.py to_django
225225
226+ # copy dependencies to rebuild CSS (postcss)
227+ COPY --from=frontend /usr/local/bin/ /usr/local/bin/
228+ COPY --from=frontend /usr/local/lib/node_modules /usr/local/lib/node_modules
229+ COPY --from=frontend /app/frontend/node_modules /app/frontend/node_modules
230+
231+ # copy browser reload module
232+ COPY --from=linttest-deps /usr/local/lib/python${PYTHON_VERSION}/dist-packages/django_browser_reload /usr/local/lib/python${PYTHON_VERSION}/dist-packages/django_browser_reload
233+
226234# use fake version to prevent building the next steps when only the version changes
227235ENV SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0-build0
228236
You can’t perform that action at this time.
0 commit comments