first commit
هذا الالتزام موجود في:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# Use official nginx alpine image
|
||||
FROM nginx:alpine
|
||||
|
||||
# Create directory for nginx config
|
||||
RUN mkdir -p /etc/nginx/conf.d
|
||||
|
||||
# Copy static files
|
||||
COPY index.html styles.css /usr/share/nginx/html/
|
||||
|
||||
# Copy nginx configuration
|
||||
COPY nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
# Expose port 80
|
||||
EXPOSE 80
|
||||
|
||||
# Run nginx
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
المرجع في مشكلة جديدة
حظر مستخدم