update options docker npm service

This commit is contained in:
2023-12-06 15:23:36 +03:00
parent e27b72616e
commit db4e0a8265
2 changed files with 1 additions and 42 deletions

View File

@@ -1,25 +0,0 @@
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Moscow
ENV PATH=node_modules/.bin:$PATH
WORKDIR /application
RUN apt-get update && apt-get install -y \
# make \
curl \
libpq-dev \
libzip-dev \
unzip \
zip
RUN apt-get update && apt-get install -y \
software-properties-common \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update && apt-get install -y nodejs && npm install -g npm@10.1.0
ENV PATH=node_modules/.bin:$PATH