diff --git a/linux-docker-fundamentals/Dockerfiles/novice/Dockerfile b/linux-docker-fundamentals/Dockerfiles/novice/Dockerfile index d745e93..d221127 100644 --- a/linux-docker-fundamentals/Dockerfiles/novice/Dockerfile +++ b/linux-docker-fundamentals/Dockerfiles/novice/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /app COPY . . # runs a command and creates an image layer. Used to install packages into containers -RUN yarn install --production +RUN yarn install --production --ignore-engines # provides a command and arguments for an executing container. Parameters can be overridden. There can be ONLY one CMD. CMD ["node", "src/index.js"] @@ -30,4 +30,4 @@ EXPOSE 3000 # ADD - copies files and directories to the container. Can unpack local .tar files # ARG - defines a variable to pass to Docker at build-time. # ENTRYPOINT - provides command and arguments for an executing container. Arguments persist. -# VOLUME - creates a directory mount point to access and store persistent data. \ No newline at end of file +# VOLUME - creates a directory mount point to access and store persistent data.