Important URL's to bookmark

Dockerfile instructions

FROM - This will create the base layer for the subsequent instructions
FROM <image>:<tag>

  FROM openjdk:8-jdk-alpine

WORKDIR - Set the working directory. RUN, CMD, ENTRYPOINT, COPY and ADD instructions will use this while execution. We can have multiple WORKDIR’s in a single Dockerfile
WORKDIR /temp

  FROM openjdk:11-jdk-slim
  WORKDIR /my-projects/inventory
comments powered by Disqus