This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #9
- Loading branch information
Tomáš Kukrál
committed
Feb 10, 2016
1 parent
34e822c
commit 3143622
Showing
3 changed files
with
23 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,17 @@ | ||
FROM php:7-cli | ||
MAINTAINER Tomáš Kukrál <kukratom@fit.cvut.cz> | ||
|
||
ENV destdir /usr/src/app | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y install git && \ | ||
apt-get -y clean | ||
|
||
COPY . $destdir | ||
WORKDIR $destdir | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php | ||
RUN php composer.phar --no-interaction install | ||
|
||
EXPOSE 80 | ||
CMD php bin/console server:run 0.0.0.0:80 |
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
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,4 @@ | ||
app: | ||
build: . | ||
ports: | ||
- 127.0.0.1:8000:80 |