This repository has been archived by the owner on Apr 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Aidan Casey
committed
Jul 22, 2020
0 parents
commit 4f3c604
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |