cs141135
4 years ago
1 changed files with 0 additions and 16 deletions
@ -1,16 +0,0 @@ |
|||
FROM alpine:latest |
|||
|
|||
LABEL MAINTAINER="FirstName LastName <example@domain.com>" |
|||
|
|||
RUN apk --update add nginx && \ |
|||
ln -sf /dev/stdout /var/log/nginx/access.log && \ |
|||
ln -sf /dev/stderr /var/log/nginx/error.log && \ |
|||
mkdir /etc/nginx/sites-enabled/ && \ |
|||
mkdir -p /run/nginx && \ |
|||
rm -rf /etc/nginx/conf.d/default.conf && \ |
|||
rm -rf /var/cache/apk/* |
|||
|
|||
COPY conf.d/app.conf /etc/nginx/conf.d/app.conf |
|||
|
|||
EXPOSE 80 443 |
|||
CMD ["nginx", "-g", "daemon off;"] |
Loading…
Reference in new issue