Skip to content

Commit 63cdbdf

Browse files
authored
Update dockerfile
1 parent ae2b5b0 commit 63cdbdf

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Use an alpine image
21
FROM alpine:3.21.3
32

43
# Set environment variables for Node.js and Yarn versions
@@ -11,13 +10,6 @@ ENV NVM_DIR=/root/.nvm
1110
RUN apk update && \
1211
apk upgrade --no-cache && \
1312
apk add nodejs npm ca-certificates
14-
15-
# RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | sh && \
16-
# /bin/sh -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION" && \
17-
# /bin/sh -c "source $NVM_DIR/nvm.sh && nvm use $NODE_VERSION" && \
18-
# /bin/sh -c "source $NVM_DIR/nvm.sh && nvm alias default $NODE_VERSION"
19-
20-
# ENV PATH="$NVM_DIR/versions/node/v$NODE_VERSION/bin:$NVM_DIR:$PATH"
2113

2214
# Install Yarn using Corepack
2315
RUN npm install -g corepack && corepack enable && corepack prepare yarn@$YARN_VERSION --activate

0 commit comments

Comments
 (0)