Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Refactor of Dockerfile for efficiency #58

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

RobertKeyser
Copy link
Contributor

@RobertKeyser RobertKeyser commented Nov 10, 2021

Purpose

This PR makes changes to the Dockerfile to minimize the number of layers that the image has to align better with Docker's best practices.

Changes

  • All changes are made to the Dockerfile RUN and COPY commands.
    • Where possible, I combined/chained RUN commands and reworked the COPY commands into one.

Ticket

#57

Note: because this makes a change to the dockerfile, I'd like someone to take a closer look at the changes to make sure I didn't break anything!

For more information, see #57
@RobertKeyser RobertKeyser marked this pull request as ready for review November 10, 2021 23:16
@RobertKeyser RobertKeyser linked an issue Nov 10, 2021 that may be closed by this pull request
@stevenbenjamin stevenbenjamin merged commit cd122fd into main Nov 11, 2021
@stevenbenjamin stevenbenjamin deleted the rkeyser-dockerfile-efficiency branch November 11, 2021 02:08
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Dockerfile Efficiency - RUN, COPY
2 participants