kirby/Dockerfile
2021-02-14 00:33:36 +01:00

17 lines
427 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/master.zip && \
unzip master.zip && \
cd plainkit-master && \
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
############################
FROM php:8-fpm-alpine3.13
EXPOSE 9000
COPY --from=builder /work/plainkit-master /site