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:
9
Dockerfile
Normal file
9
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user