mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-19 23:54:24 +08:00
19 lines
375 B
Docker
19 lines
375 B
Docker
FROM nginx:1.25.2-alpine
|
|
|
|
# Add Maintainer Info
|
|
LABEL maintainer="signoz"
|
|
|
|
# Set working directory
|
|
WORKDIR /frontend
|
|
|
|
# Remove default nginx index page
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
# Copy custom nginx config and static files
|
|
COPY conf/default.conf /etc/nginx/conf.d/default.conf
|
|
COPY build /usr/share/nginx/html
|
|
|
|
EXPOSE 3301
|
|
|
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|