From 56a553bac966edab721e000cce878fcb9608344e Mon Sep 17 00:00:00 2001 From: Mohamad Date: Mon, 23 Dec 2024 13:59:15 +0100 Subject: [PATCH] dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e5dbe19 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# Use a minimal base image to serve static files +FROM nginx:alpine + +# Copy the built files from the local system to the nginx web root +COPY build /usr/share/nginx/html + +# Expose port 80 for serving the application +EXPOSE 80 + +# Start Nginx +CMD ["nginx", "-g", "daemon off;"]