Build docker image
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2020-12-21 03:26:37 -05:00
parent ce98197e49
commit e60376d39a
2 changed files with 22 additions and 0 deletions

16
.drone.yml Normal file
View File

@ -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

6
Dockerfile Normal file
View File

@ -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