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

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan Casey committed Jul 22, 2020
0 parents commit 4f3c604
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM php:7.4-cli-alpine

LABEL maintainer="Aidan Casey <[email protected]>"
LABEL description="A lightweight workspace container designed for PHP applications."

# Install Composer
COPY --from=composer /usr/bin/composer /usr/bin/composer

# Install Node
RUN apk add --no-cache nodejs npm

# Override Defaults
CMD []
ENTRYPOINT []

# Set the Working Directory
RUN rm -rf /var/www \
&& mkdir -p /var/www/app \
&& chown -R www-data:www-data /var/www/app
WORKDIR /var/www/app
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# About
This repository contains a lightweight PHP CLI container which allows you to run composer and npm commands.

# Maintainers
- [Aidan Casey](https://github.com/aidan-casey)

0 comments on commit 4f3c604

Please sign in to comment.