Bump nginx from 1.16-alpine to 1.17.9-alpine in /client (#527)
Bump nginx from 1.16-alpine to 1.17.9-alpine in /client (#527)

Bumps nginx from 1.16-alpine to 1.17.9-alpine.

Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>

Co-authored-by: dependabot-preview[bot] <6a4c1c4838f800d1998274cd5234e1f65c55e90c@users.noreply.github.com>
FROM node:13.10-alpine as build
ENV HOMOCHECKER_API_HOST homochecker-api
WORKDIR /usr/src
COPY . /usr/src
COPY fonts/* /usr/src/dist/

RUN npm install && \
    npm run build && \
    rm -rf node_modules

FROM nginx:1.16-alpine
COPY conf /etc/nginx/conf.d
COPY --from=build /usr/src/dist /var/www/html
CMD ["/bin/ash", "-c", "sed -i s/api:/$HOMOCHECKER_API_HOST:/ /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]

FROM node:13.10-alpine as build
ENV HOMOCHECKER_API_HOST homochecker-api
WORKDIR /usr/src
COPY . /usr/src
COPY fonts/* /usr/src/dist/

RUN npm install && \
    npm run build && \
    rm -rf node_modules

FROM nginx:1.17.9-alpine
COPY conf /etc/nginx/conf.d
COPY --from=build /usr/src/dist /var/www/html
CMD ["/bin/ash", "-c", "sed -i s/api:/$HOMOCHECKER_API_HOST:/ /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"]
