Basic .NET Core console application with additional scripts and files for building the app and creating release artifacts for a framework-dependent deployment, self-contained deployment, Docker image, Chocolatey package and AppImage
The number of Dockerfiles will grow and the root of the repository isn't the best place. So maybe move and change them accordingly.
Problems:
You can't COPY ../something, because it leads to the error "Forbidden path outside the build context".
Maybe move to src/, and also change all publish scripts to output to src/artifacts/ instead of artifacts/ (because the Dockerfile requires the published app)
Or probably better: When running docker build, the build context gets passed, which could be artifacts/, then from within the Dockerfile that's .
Nope - "unable to prepare context: The Dockerfile must be within the build context"
The number of Dockerfiles will grow and the root of the repository isn't the best place. So maybe move and change them accordingly.
Problems:
COPY ../something
, because it leads to the error "Forbidden path outside the build context".src/
, and also change all publish scripts to output tosrc/artifacts/
instead ofartifacts/
(because the Dockerfile requires the published app)docker build
, the build context gets passed, which could beartifacts/
, then from within the Dockerfile that's.