reverted dns changes

This commit is contained in:
Sumedh
2024-08-13 05:58:23 +00:00
parent 2fd34115b9
commit dd977abb98
2 changed files with 2 additions and 12 deletions

View File

@@ -22,13 +22,6 @@ RUN npm run build
FROM nginx:latest as prod
# Add custom DNS mapping
ARG LOCAL_DNS
ARG IP_ADDRESS
RUN echo "$IP_ADDRESS $LOCAL_DNS" >> /etc/hosts
RUN cat /etc/hosts
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html
CMD ["nginx", "-g", "daemon off;"]