diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4f3e108..5db45f2 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -6,6 +6,7 @@ COPY package.json package-lock.json* ./ RUN npm install COPY . . +RUN mkdir -p public RUN npm run build FROM node:20-alpine AS runner diff --git a/frontend/public/robots.txt b/frontend/public/robots.txt new file mode 100644 index 0000000..d346249 --- /dev/null +++ b/frontend/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /api/