Skip to content

Commit

Permalink
Cache for npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
robholland committed Oct 24, 2024
1 parent 6ed929a commit 069294a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion snakes/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN npm install -g typescript ts-node
WORKDIR /app

COPY package*.json ./
RUN npm install
RUN --mount=type=cache,target=/root/.npm \
npm install

COPY . .

Expand Down

0 comments on commit 069294a

Please sign in to comment.