Initial Dockerfile and Pipeline

This commit is contained in:
Thomas Ganter 2021-02-14 00:33:36 +01:00
commit c81053ccec
2 changed files with 108 additions and 0 deletions

17
Dockerfile Normal file
View file

@ -0,0 +1,17 @@
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