mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
build(docker): use absolute path to stay consistent
This commit is contained in:
parent
e9fa37c4ee
commit
d5bc9841e3
@ -36,9 +36,9 @@ RUN sed -i "/electron/d" package.json && \
|
||||
npm ci --omit=dev && \
|
||||
node --experimental-strip-types ./bin/cleanupNodeModules.ts . --skip-prune-dev-deps && \
|
||||
npm cache clean --force && \
|
||||
rm -rf \
|
||||
rm -rf \
|
||||
/tmp/node-compile-cache \
|
||||
./bin/cleanupNodeModules.ts
|
||||
/usr/src/app/bin/cleanupNodeModules.ts
|
||||
|
||||
# Add application user
|
||||
RUN adduser -s /bin/false node; exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user