Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIJN-9820-Bug - Use single robots file #1635

Merged
merged 2 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,10 @@ COPY conf/nginx.conf /etc/nginx/nginx.conf

# Copy the built application files to the current image
COPY --from=build-app-fe /build-space/build /usr/share/nginx/html
COPY src/client/public/robots.disallow.txt /usr/share/nginx/html/robots.txt
COPY src/client/public/robots.txt /usr/share/nginx/html/robots.txt

CMD nginx -g 'daemon off;'

########################################################################################################################
########################################################################################################################
# Front-end Web server image Production
########################################################################################################################
########################################################################################################################
FROM deploy-frontend AS deploy-production-frontend
COPY src/client/public/robots.allow.txt /usr/share/nginx/html/robots.txt


########################################################################################################################
########################################################################################################################
Expand Down
2 changes: 0 additions & 2 deletions src/client/public/robots.disallow.txt

This file was deleted.

File renamed without changes.
Loading