Skip to content

Commit

Permalink
remove sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Sep 5, 2023
1 parent f0bc12c commit 0a33658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get -y update --fix-missing && \
# node.js
RUN 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" | sudo tee /etc/apt/sources.list.d/nodesource.list && \
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 && \
apt-get update && \
apt-get install -y nodejs && \
node --version && \
Expand Down Expand Up @@ -47,4 +47,4 @@ RUN pnpm run -r build

FROM builder AS store-indexer
WORKDIR /app/packages/store-indexer
EXPOSE 3001
EXPOSE 3001

0 comments on commit 0a33658

Please sign in to comment.