Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- 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;"]
|