up
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
FROM --platform=linux/amd64 harbor.vimpelcom.ru/dockerhub/library/nginx:alpine
|
||||||
|
|
||||||
|
ARG DIST_DIR=./src/.vitepress/dist
|
||||||
|
ARG WROOT_DIR=/usr/share/nginx/html/docs
|
||||||
|
|
||||||
|
WORKDIR ${WROOT_DIR}
|
||||||
|
|
||||||
|
RUN rm -rf ./*
|
||||||
|
COPY ${DIST_DIR} ./
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Reference in New Issue
Block a user