You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- autogenerated code comment 5D8BA5702BAE3F6A by ReviewGPT -->
The RUN mkdir /opt/app command is not necessary and can lead to an extra layer in your Docker image, which is not recommended for Docker best practices.
Instead of creating the directory with a RUN command, you can use the WORKDIR directive, which will create the directory if it does not exist. Replace the RUN mkdir /opt/app line with WORKDIR /opt/app.
The
RUN mkdir /opt/app
command is not necessary and can lead to an extra layer in your Docker image, which is not recommended for Docker best practices.Instead of creating the directory with a
RUN
command, you can use theWORKDIR
directive, which will create the directory if it does not exist. Replace theRUN mkdir /opt/app
line withWORKDIR /opt/app
.Originally posted by @codereviewbot-ai[bot] in #85 (comment)
The text was updated successfully, but these errors were encountered: