bcgov / bcgov/wps

Dev: Use multi-stage build for front-end

Open
#3,713 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

We should use a multistage build for the front-end to prevent embedding our artifactory npm token in the final image.

Contributor guide

Open the contributing guide

Research direction

Start by locating the front-end container build and the configuration that installs npm dependencies. Check how the artifactory token enters the build, then verify that the final image can run without retaining that token. Done means the front end still builds successfully and the token is absent from the final image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, react
Domain
build-system, frontend, security
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.