sangwaritaxi_website/dockerfile

18 lines
322 B
Plaintext

# Use the official Nginx image from Docker Hub
FROM nginx:alpine
# Set working directory
WORKDIR /usr/share/nginx/html
# Remove the default Nginx static assets
RUN rm -rf ./*
# Copy your HTML, CSS, JS, etc., to the container
COPY . .
# Expose port 80
EXPOSE 80
# Start Nginx server
CMD ["nginx", "-g", "daemon off;"]