wIK5Ez2o commited on
Commit
09ee40d
·
verified ·
1 Parent(s): 63aae25

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile CHANGED
@@ -2,3 +2,24 @@ FROM ubuntu:latest
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt update \
6
+ && apt-get install -y curl unzip wget gnupg2 ca-certificates
7
+
8
+ ENV GBP_USER ${GBP_USER:-gbp}
9
+ ENV GBP_USER_ID ${GBP_USER_ID:-1000}
10
+ USER root
11
+
12
+
13
+ ADD launch.sh ./launch.sh
14
+ RUN chmod 777 /app && chmod 777 /app/launch.sh
15
+
16
+ RUN wget -q -O - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg >/dev/null \
17
+ && echo "deb https://packages.microsoft.com/repos/edge stable main" >> /etc/apt/sources.list.d/microsoft-edge.list \
18
+ && apt-get update -qqy \
19
+ && apt-get -qqy --no-install-recommends install microsoft-edge-stable
20
+
21
+ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash \
22
+ && apt-get install -y nodejs
23
+ RUN apt-get clean && rm -rf /var/lib/apt/lists/*
24
+
25
+ CMD /app/launch.sh