You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# syntax=docker/dockerfile:1
ARG PYTHON_VERSION=3.11
ARG PLONE_VERSION=6.0
FROM plone/server-builder:${PLONE_VERSION} as builder
# Remove Volto support from builder image
RUN /app/bin/pip uninstall -y plone.volto
FROM plone/server-prod-config:${PLONE_VERSION}
LABEL maintainer="Plone Community <[email protected]>" \
org.label-schema.name="plone-classicui" \
org.label-schema.description="Plone $PLONE_VERSION Classic UI image using Python $PYTHON_VERSION" \
org.label-schema.vendor="Plone Foundation"
# Use /app as the workdir
WORKDIR /app
# Copy /app from builder
COPY --from=builder --chown=500:500 /app /app
# Link /data (the exposed volume) into /app/var
RUN ln -s /data /app/var
# Setup default type for site creation to be classic
ENV TYPE=classic
# https://github.com/pypa/pip/issues/12079
ENV _PIP_USE_IMPORTLIB_METADATA=0
DockerfileをClasicのものを使って準備
https://github.com/plone/plone-backend/blob/v6.0.7/Dockerfile.classicui
実行コマンド
dataディレクトリに、永続化される。
開発用の実行コマンド
The text was updated successfully, but these errors were encountered: