axebps commited on
Commit
be37709
·
verified ·
1 Parent(s): 5c8fb01

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -1,9 +1,14 @@
1
- FROM ubuntu
2
 
3
  COPY . .
4
 
5
  RUN apt-get update && \
6
  apt-get install -y --no-install-recommends curl tar wget ca-certificates && \
7
- chmod +x /entrypoint.sh
 
 
 
 
 
8
 
9
  CMD ["/entrypoint.sh"]
 
1
+ FROM ubuntu:24.04
2
 
3
  COPY . .
4
 
5
  RUN apt-get update && \
6
  apt-get install -y --no-install-recommends curl tar wget ca-certificates && \
7
+ chmod +x /entrypoint.sh && \
8
+ mkdir -p /home/ubuntu/.local/bin
9
+
10
+ USER ubuntu
11
+
12
+ ENV PATH=/home/ubuntu/.local/bin:$PATH
13
 
14
  CMD ["/entrypoint.sh"]