This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
FROM nginxinc/nginx-unprivileged:1.27-alpine
|
||||
|
||||
ARG FRONTEND_VERSION
|
||||
RUN test -n "$FRONTEND_VERSION" \
|
||||
&& sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
|
||||
|
||||
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 8080
|
||||
Reference in New Issue
Block a user