aswi2020sebela-gitlab/docker/nginx/Dockerfile @ 90b74d8f
1 |
FROM nginx:alpine |
---|---|
2 |
COPY nginx.conf /etc/nginx |
3 |
COPY conf.d /etc/nginx/conf.d |
4 |
RUN apk add netcat-openbsd bc curl bash wget openssl; \ |
5 |
apk add libressl; \ |
6 |
wget -O - https://get.acme.sh | sh; \ |
7 |
cd /root/.acme.sh && bash acme.sh --upgrade -b dev; |
8 |
WORKDIR /var/www/ |
9 |
CMD ["nginx"] |