Update Dockerfile
Browse files- 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"]
|