diff --git a/example.Dockerfile b/example.Dockerfile index 6c1114a8a1941d067c8618b55f7dad861f2c10eb..b19b54e643b1a56948bbbf65d61f72628cb0bf28 100644 --- a/example.Dockerfile +++ b/example.Dockerfile @@ -1,11 +1,9 @@ # syntax = devthefuture/dockerfile-x # We use the dockerfile-x syntax to demonstrate what would be required from an -# actual application that was using the base Dockerfile. Note that due to the -# docker build's context system this Dockerfile must be build from the parent -# directory, with the command: -# -# $ docker build -f example/Dockerfile . +# actual application that was using the base Dockerfile. + +FROM ./Dockerfile as base COPY example ./example WORKDIR /usr/src/app/example