Skip to content

Commit

Permalink
chore: dockerfile to lts-alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Oct 29, 2023
1 parent 6620ea8 commit e6a28d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts
FROM node:lts-alpine

ENV LAST_UPDATED 2023-27-07-1033

Expand All @@ -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
Expand Down

0 comments on commit e6a28d4

Please sign in to comment.