Skip to content

Commit 17956a6

Browse files
committed
Try node image
1 parent cf6f6a8 commit 17956a6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Earthfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
VERSION 0.7
22

3-
FROM debian:12-slim
3+
FROM node:20-slim
44

55
WORKDIR /app
66

7-
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
8-
nodejs
7+
RUN apt-get update && apt-get upgrade -y
98

109
all:
1110
BUILD \
@@ -22,8 +21,6 @@ test:
2221
+docker-test
2322

2423
build:
25-
RUN apt-get install -y \
26-
npm
2724
RUN npm config set \
2825
fetch-retries 5 \
2926
fetch-retry-mintimeout 100000 \

0 commit comments

Comments
 (0)