diff --git a/Dockerfile b/Dockerfile index 6e76d31a9542..3706ee720d43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:lts +FROM node:lts-alpine ENV LAST_UPDATED 2023-27-07-1033 @@ -8,9 +8,6 @@ ARG ENV=production ENV NODE_ENV $NODE_ENV ENV ENV $ENV -RUN apt-get update -RUN apt-get install -y build-essential unzip nasm libtool make bash git autoconf wget zlib1g-dev python3 - # Downgrade to npm 8, permission issue caused by https://github.com/npm/cli/issues/5889 # ERROR: failed to register layer: Error processing tar file(exit status 1): failed to Lchown "/app/node_modules/brorand/.npmignore" for UID 120012366, GID 120012366: lchown /app/node_modules/brorand/.npmignore: invalid argument RUN npm install -g npm@8