diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8d7cddd --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: docker + image: plugins/docker + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + repo: registry.meow.tf/tyler/bookinventory + registry: registry.meow.tf + tags: + - latest diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9b12499 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM php:8-fpm-alpine + +COPY . /app +WORKDIR /app + +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ No newline at end of file