Dockerfile instructions: FROM, WORKDIR, COPY, RUN, EXPOSE, USER
Select an icon to see what it is.
Step 4 of 6
RUN executes at build time
RUN chmod +x app.sh runs a command in a temporary container during the build. Whatever it changes in the filesystem is saved as a new layer. In shell form, the command runs as /bin/sh -c, and nothing runs when you later start the container.
Layer content
/app/app.sh (mode changed to executable)