-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Deploy] Add Dockerfile and docker-compose.yml to easy deploy JoliQui…
- Loading branch information
1 parent
57b2270
commit 443ddc5
Showing
4 changed files
with
11 additions
and
8 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,7 +1,7 @@ | ||
FROM nginx:1.13-alpine | ||
|
||
COPY docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf | ||
COPY public /var/www/public | ||
# docker build -f Dockerfile.nginx -t lbouquet/nginx-symf4 . | ||
COPY ./public /var/www/public | ||
# docker build -f Dockerfile.nginx -t lbouquet/joliquiz-nginx . | ||
# docker login | ||
# docker push lbouquet/nginx-symf4 | ||
# docker push lbouquet/joliquiz-nginx |
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 |
---|---|---|
|
@@ -60,4 +60,5 @@ services: | |
depends_on: | ||
- php-fpm | ||
ports: | ||
- "8080:80" | ||
- "80: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