Use Alpine based Nginx image for Web container

This commit is contained in:
PICHOU Kyâne 2017-11-18 17:04:52 +01:00
parent b4b0aa1866
commit d3a8121675
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM nginx:mainline FROM nginx:mainline-alpine
# Remove default configuration and add our custom Nginx configuration files # Remove default configuration and add our custom Nginx configuration files
RUN rm /etc/nginx/conf.d/default.conf RUN rm /etc/nginx/conf.d/default.conf

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# Define default value for app container hostname and port # Define default value for app container hostname and port
APP_HOST=${APP_HOST:-app} APP_HOST=${APP_HOST:-app}