Skip to content
This repository has been archived by the owner on Apr 3, 2021. It is now read-only.

added Dockerfile (fixes #17) #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM library/php:7.1.31-alpine

RUN apk add --update git zip && \
adduser --no-create-home -S --disabled-password --shell /bin/sh php

COPY . /src

WORKDIR /src

RUN curl --silent --show-error https://getcomposer.org/installer | php

RUN php composer.phar install && \
cp .env.example .env

USER php

CMD ["php", "artisan", "serve"]