feat: 0.0.1
This commit is contained in:
10
nginx.Dockerfile
Normal file
10
nginx.Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM nginx:stable-alpine
|
||||
|
||||
ARG SERVER_NAME
|
||||
|
||||
ENV SERVER_NAME=${SERVER_NAME}
|
||||
|
||||
# Prepare nginx config with env variables
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
RUN envsubst '${SERVER_NAME}' < /etc/nginx/nginx.conf > /etc/nginx/nginx.conf.tmp && \
|
||||
mv /etc/nginx/nginx.conf.tmp /etc/nginx/nginx.conf
|
||||
Reference in New Issue
Block a user