24 lines
552 B
Docker
24 lines
552 B
Docker
FROM alpine:latest as builder
|
|
|
|
WORKDIR /work
|
|
RUN \
|
|
apk update && \
|
|
apk add curl && \
|
|
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/main.zip && \
|
|
unzip master.zip && \
|
|
cd plainkit-main && \
|
|
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
|
|
|
|
COPY UCQ1Lrae /work/plainkit-main/site/accounts/UCQ1Lrae
|
|
|
|
# Just for checking what exactly is in there
|
|
#
|
|
# RUN find /work -print
|
|
|
|
############################
|
|
|
|
FROM php:8-fpm-alpine3.13
|
|
|
|
EXPOSE 9000
|
|
COPY --from=builder /work/plainkit-main /site
|