الملفات
Drivelandingpage/Dockerfile
2025-10-15 17:22:06 +03:00

18 أسطر
357 B
Docker

# 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;"]