Archie Wood commited on
Commit
98da12a
1 Parent(s): fbb50b2

lightweight image

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -1,17 +1,5 @@
1
- FROM ubuntu:22.04
2
 
3
- # Install Node.js 20 - https://github.com/nodesource/distributions?tab=readme-ov-file#installation-instructions-deb
4
- # And python3
5
- RUN apt update \
6
- && apt install -y curl python3 python3-pip \
7
- && rm -rf /var/lib/apt/lists/*
8
-
9
- RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh \
10
- && bash nodesource_setup.sh \
11
- && apt update \
12
- && apt install -y nodejs \
13
- && rm -rf /var/lib/apt/lists/* \
14
- && rm nodesource_setup.sh
15
 
16
  RUN pip install --upgrade "huggingface_hub[cli]"
17
 
 
1
+ FROM node:20-alpine AS builder
2
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
  RUN pip install --upgrade "huggingface_hub[cli]"
5