8 lines
260 B
Docker
8 lines
260 B
Docker
FROM nginx:1.28-alpine
|
|
|
|
ARG DOMAIN
|
|
COPY ./default.template.conf /tmp/default.template.conf
|
|
RUN envsubst '$DOMAIN' < /tmp/default.template.conf > /etc/nginx/conf.d/default.conf
|
|
COPY ./server.key /etc/ssl/crt/server.key
|
|
COPY ./server.crt /etc/ssl/crt/server.crt
|