mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Frontend: Harden NPM usage and add version overrides to package.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
71f5bab407
commit
68d387778e
3 changed files with 10 additions and 2 deletions
|
|
@ -1,6 +1,9 @@
|
|||
# Ubuntu 25.04 (Plucky Puffin)
|
||||
FROM photoprism/develop:250907-plucky
|
||||
|
||||
# Harden npm usage by default (applies to npm ci / install in dev container)
|
||||
ENV NPM_CONFIG_IGNORE_SCRIPTS=true
|
||||
|
||||
## Alternative Environments:
|
||||
# FROM photoprism/develop:armv7 # ARMv7 (32bit)
|
||||
# FROM photoprism/develop:plucky # Ubuntu 25.04 (Plucky Puffin)
|
||||
|
|
@ -21,4 +24,4 @@ WORKDIR "/go/src/github.com/photoprism/photoprism"
|
|||
COPY . .
|
||||
COPY --chown=root:root /scripts/dist/ /scripts/
|
||||
|
||||
RUN sudo /scripts/install-yt-dlp.sh
|
||||
RUN sudo /scripts/install-yt-dlp.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue