Skip to content

Commit

Permalink
🐛(dogwood.3-fun) fix production image
Browse files Browse the repository at this point in the history
While inheriting from the base image, the production image does not
benefit from newly build dependencies or static files.
  • Loading branch information
jmaupetit committed Apr 13, 2021
1 parent 74706b1 commit ccb7a59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions releases/dogwood/3/fun/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ release.

## [Unreleased]

### Fixed

- Copy newly installed dependencies and modified sources

## [dogwood.3-fun-2.1.0] - 2021-04-12

### Added
Expand Down
6 changes: 6 additions & 0 deletions releases/dogwood/3/fun/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ RUN apt-get update && \
apt-get upgrade -y && \
rm -rf /var/lib/apt/lists/*

# Copy installed dependencies
COPY --from=builder /usr/local /usr/local

# Copy modified sources (sic!)
COPY --from=builder /edx/app/edxapp/edx-platform /edx/app/edxapp/edx-platform

# Copy static files
COPY --from=links_collector ${EDXAPP_STATIC_ROOT} ${EDXAPP_STATIC_ROOT}

Expand Down

0 comments on commit ccb7a59

Please sign in to comment.