signoz/frontend/Dockerfile

19 lines
373 B
Docker
Raw Normal View History

FROM nginx:1.26-alpine
# Add Maintainer Info
LABEL maintainer="signoz"
# Set working directory
2021-01-20 03:59:58 +05:30
WORKDIR /frontend
2021-01-03 18:15:44 +05:30
# Remove default nginx index page
2021-01-20 03:59:58 +05:30
RUN rm -rf /usr/share/nginx/html/*
2021-01-03 18:15:44 +05:30
# Copy custom nginx config and static files
COPY conf/default.conf /etc/nginx/conf.d/default.conf
COPY build /usr/share/nginx/html
2021-01-03 18:15:44 +05:30
EXPOSE 3301
2021-01-03 18:15:44 +05:30
ENTRYPOINT ["nginx", "-g", "daemon off;"]