skip to Main Content

Dockerfile ENTRYPOINT ignores WORKDIR

Dockerfile: FROM mcr.microsoft.com/dotnet/runtime-deps:7.0.10-alpine3.18-amd64 ARG APP_DIR=/var/lib/app/ WORKDIR $APP_DIR # etc. ENTRYPOINT ["MyApp"] # executable file located at /var/lib/app/MyApp When running that container: docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create…

VIEW QUESTION
Back To Top
Search