2026-10-07 00:45:51 +03:30
|
|
|
# Static export is built on the host (`npm run build` → ./out)
|
|
|
|
|
# This image only serves the pre-built files via nginx.
|
|
|
|
|
FROM docker.arvancloud.ir/nginx:alpine
|
2026-09-27 08:54:48 +03:30
|
|
|
|
|
|
|
|
COPY out /usr/share/nginx/html
|
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|