Merge pull request '添加 'Dockerfile'' (#7) from clay-patch-1 into master

Reviewed-on: http://git.feashow.cn/wenhua/fateverse-react/pulls/7
This commit is contained in:
clay
2023-11-01 03:00:19 +00:00

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM nginx
RUN rm -rf /etc/nginx/nginx.conf
COPY nginx.conf /etc/nginx/
#RUN useradd -b /home/clay -m -s /bin/bash clay
#RUN chmod a+xr -R /home/clay && chown clay:clay -R /home/clay
#USER clay
COPY ./dist /home/clay
WORKDIR /home/clay
EXPOSE 80