deployment artifacts
This commit is contained in:
1 parent
5c3d5e4bf7
commit
4c221e2348
3 files changed
+64
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
# Xóa file cấu hình mặc định của Nginx
|
||||
RUN rm -rf /etc/nginx/conf.d/*
|
||||
|
||||
# Copy file cấu hình tùy chỉnh của bạn vào
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Copy source code web và thư mục ảnh vào
|
||||
COPY index.html /usr/share/nginx/html/
|
||||
COPY images/ /usr/share/nginx/html/images/
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
Reference in new issue
Block a user