Skip to content

Commit

Permalink
fixes #73 - add precompile step
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Oct 17, 2022
1 parent bb51e3d commit bf5c8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN <<EOT
python -m venv /app
/app/bin/pip install -U "pip==${PIP_VERSION}"
/app/bin/pip install Plone plone.volto ${EXTRA_PACKAGES} -c https://dist.plone.org/release/$PLONE_VERSION/constraints.txt ${PIP_PARAMS}
find /app \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' +
find . -name *.py -and -not -path */*skins/* -and -not -name *_2.py -and -not -name badsyntax.py -exec /app/bin/python -m compileall {} +
EOT

COPY --chown=500:500 /skeleton/etc /app/etc
Expand Down

0 comments on commit bf5c8f9

Please sign in to comment.