reverted dns changes
This commit is contained in:
@@ -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;"]
|
||||
|
||||
Reference in New Issue
Block a user