添加 'Dockerfile'
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