-
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.
Minor changes in order to make HHVM work ov docker
Signed-off-by: Rafael Campos Nunes <[email protected]>
- Loading branch information
Showing
7 changed files
with
12 additions
and
9 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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
FROM hhvm/hhvm-proxygen:latest | ||
LABEL maintainer="Rafael Campos Nunes <[email protected]>" | ||
|
||
#RUN apt-get update && apt-get install mysql-server -y | ||
|
||
RUN rm -rf /var/www | ||
ADD ./src /var/www/public | ||
ADD server.ini /etc/hhvm/ | ||
ADD ./public/ /var/www/public/ | ||
|
||
RUN ls /var/www/public | ||
COPY ./server.ini /etc/hhvm/ | ||
|
||
EXPOSE 80 | ||
EXPOSE 4000 |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# | ||
# | ||
# A simple makefile to run the container. | ||
# | ||
|
||
all: | ||
docker build -t unkown . | ||
docker run -p 0.0.0.0:80:80 unknown | ||
docker build --no-cache -t unkown . | ||
docker run --privileged -p 0.0.0.0:80:80 unknown |
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,2 @@ | ||
<?php | ||
echo "Something heeeeeere"; |
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,2 @@ | ||
<?php | ||
echo "Hello Murrica"; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.