You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
462 B
16 lines
462 B
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;"]
|