marriedtermiteblyi commited on
Commit
54895ac
·
verified ·
1 Parent(s): 5783ae6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
  FROM python:3.11-slim
2
 
3
  USER root
4
- RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
5
- && apt-get install -y nodejs \
6
- && rm -rf /var/lib/apt/lists/*
7
-
8
  WORKDIR /app
9
 
10
  RUN apt-get update && apt-get install -y \
@@ -15,7 +12,10 @@ RUN apt-get update && apt-get install -y \
15
  nodejs \
16
  npm \
17
  && rm -rf /var/lib/apt/lists/*
18
-
 
 
 
19
  RUN useradd -m -u 1000 appuser && \
20
  echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
21
 
 
1
  FROM python:3.11-slim
2
 
3
  USER root
4
+
 
 
 
5
  WORKDIR /app
6
 
7
  RUN apt-get update && apt-get install -y \
 
12
  nodejs \
13
  npm \
14
  && rm -rf /var/lib/apt/lists/*
15
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
16
+ && apt-get install -y nodejs \
17
+ && rm -rf /var/lib/apt/lists/*
18
+
19
  RUN useradd -m -u 1000 appuser && \
20
  echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
21