mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
9 lines
189 B
Docker
9 lines
189 B
Docker
FROM nginx:1.24.0
|
|
|
|
COPY dist/ /app/
|
|
RUN mkdir /cnf && chown 777 /cnf
|
|
COPY nginx.conf /cnf/nginx.conf
|
|
EXPOSE 5100
|
|
WORKDIR /app
|
|
|
|
CMD [ "sh", "-c", "nginx -g 'daemon off;' -c /cnf/nginx.conf"] |