mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 13:38:58 +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"] |