Skip to content

Commit

Permalink
make deployment folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jul 20, 2024
1 parent 785a1d6 commit a075563
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ ENV INSTANCE_debug_mode "false"
# prepare and cleanup
RUN \
useradd --system -m -d /app -U -u 500 plone &&\
apt-get update &&\
apt-get -y update &&\
apt-get -y upgrade &&\
buildDeps="build-essential make busybox ca-certificates curl git gosu libbz2-dev libffi-dev libjpeg62-turbo-dev libmagic1 libldap2-dev libopenjp2-7-dev libpcre3-dev libpq-dev libsasl2-dev libssl-dev libtiff5-dev libxml2-dev libxslt1-dev wget zlib1g-dev" &&\
apt-get install -y --no-install-recommends $buildDeps &&\
apt-get -y install --no-install-recommends $buildDeps &&\
busybox --install -s &&\
apt-get -y clean &&\
# global uv
Expand All @@ -56,6 +56,7 @@ WORKDIR /site
RUN \
ls -la &&\
make packages cookiecutter &&\
mkdir -p /site/deployment &&\
wget -O $ZOPE_TEMPLATE https://github.com/plone/cookiecutter-zope-instance/archive/refs/tags/${COOKIECUTTER_ZOPE_INSTANCE_VERSION}.zip &&\
wget -O deployment/transform_from_environment.py https://raw.githubusercontent.com/plone/cookiecutter-zope-instance/${COOKIECUTTER_ZOPE_INSTANCE_VERSION}/helpers/transform_from_environment.py &&\
chmod u+x deployment/transform_from_environment.py &&\
Expand Down

0 comments on commit a075563

Please sign in to comment.