# Install yarn from the local .tgz
RUN mkdir -p /opt
ADD latest.tar.gz /opt/
RUN mv /opt/dist /opt/yarn
ENV PATH "$PATH:/opt/yarn/bin"
What did you do with the latest.tar.gz file. Don’t you have to somehow extract it or something? And where is the /opt/dist/ directory coming from?