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

Use relative paths in generated Dockerfile #3035

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Fix test for healthcheck file
  • Loading branch information
pravindahal committed Jul 27, 2020
commit 4af227f98d4b67fe5f49e992a1beb505b36f73b6
4 changes: 3 additions & 1 deletion tests/environments/storage/test_docker_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,9 @@ def test_create_dockerfile_from_dockerfile_uses_tempdir_path():
), output
assert (
"COPY {} /opt/prefect/healthcheck.py".format(
os.path.join(directory, "healthcheck.py")
os.path.relpath(os.path.join(directory, "healthcheck.py")).replace(
"\\", "/"
)
)
in output
)
Expand Down