ShawnAI commited on
Commit
0fef4e8
1 Parent(s): a32e638

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # production stage
2
+ FROM nginx:latest as production-stage
3
+ # COPY --from=build-stage /app/dist /etc/nginx/html
4
+ COPY conf/nginx.conf /etc/nginx/nginx.conf
5
+ RUN chmod -R 777 /var/cache/nginx
6
+
7
+ EXPOSE 8888
8
+ CMD ["nginx", "-g", "daemon off;"]