-
-
Notifications
You must be signed in to change notification settings - Fork 741
improve Dockerfile #4994
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
base: 3.x
Are you sure you want to change the base?
improve Dockerfile #4994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the failing tests it looks fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the Dockerfile to use a newer Playwright base image and refines dependency installation and user management for improved security and reproducibility.
- Updated base image version and environment variable syntax
- Refactored apt-get commands, user creation, and dependency installation steps
- Adjusted working directories and file copying to separate application and test areas
Dockerfile
Outdated
WORKDIR /tests | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The COPY instruction is executed when the working directory is set to /codecept, but later the WORKDIR is changed to /tests. Please clarify if the project files should reside in both directories or adjust the file copying to correctly reflect the intended structure.
WORKDIR /tests |
Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Motivation/Description of the PR
Applicable helpers:
Applicable plugins:
Type of change
Checklist:
npm run docs
)npm run lint
)npm test
)