17 lines
330 B
Docker
17 lines
330 B
Docker
ARG ALPINE_VERSION=3.18
|
|
|
|
FROM alpine:${ALPINE_VERSION} as alpine
|
|
|
|
RUN apk add --no-cache openssl nginx bash tzdata ca-certificates
|
|
|
|
COPY default.conf /etc/nginx/http.d/default.conf
|
|
|
|
COPY scripts/gen-self-signed-cert.sh /gen-self-signed-cert.sh
|
|
COPY scripts/start.sh /start.sh
|
|
|
|
WORKDIR /
|
|
|
|
RUN chmod +x /start.sh
|
|
|
|
CMD ["/start.sh"]
|