Skip to content

Commit

Permalink
Merge pull request #3954 from dev-hato/update_node
Browse files Browse the repository at this point in the history
DockerイメージにインストールするNode.jsアップデート
  • Loading branch information
massongit authored May 19, 2024
2 parents cb22f6a + f7e19f3 commit a6e2543
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ENV ENV="${ENV}"

WORKDIR /usr/src/app

COPY .npmrc .npmrc
COPY Pipfile Pipfile
COPY package.json package.json
COPY package-lock.json package-lock.json
Expand All @@ -28,7 +29,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends git gcc libc6-dev libopencv-dev libgl1-mesa-dev libglib2.0-0 curl gnupg && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install -y --no-install-recommends nodejs && \
pip install pipenv==2023.12.1 --no-cache-dir && \
Expand Down

0 comments on commit a6e2543

Please sign in to comment.