diff --git a/Dockerfile b/Dockerfile index 586d29a..08c4e63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,13 @@ COPY package*.json ./ RUN npm install COPY . . RUN npm run build +RUN npx tailwindcss -i ./src/index.css -o ./dist/output.css --watch # Stage 2: Serve the app from Nginx FROM nginx:alpine # Copy the build output to replace the default nginx contents. -COPY --from=build-stage /app/build/ /usr/share/nginx/html +COPY --from=build-stage /app/dist/ /usr/share/nginx/html # Expose port 80 to the outside EXPOSE 80 # Start Nginx when the container has provisioned. -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off"] \ No newline at end of file diff --git a/index.html b/index.html index 251732e..4b26856 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@
+