eienmojiki commited on
Commit
fc1a82e
1 Parent(s): 2f7e2aa

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +57 -0
Dockerfile ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM buildpack-deps:22.04-curl
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive \
4
+ TZ=Asia/Ho_Chi_Minh \
5
+ PORT=8080 \
6
+ USER=koga \
7
+ HOME=home/koga
8
+
9
+ USER root
10
+
11
+ RUN useradd -m -u 1000 koga
12
+
13
+ RUN apt-get update && apt-get install -y --no-install-recommends \
14
+ bash \
15
+ unzip \
16
+ git \
17
+ git-lfs \
18
+ curl \
19
+ sudo \
20
+ wget \
21
+ ffmpeg \
22
+ psmisc \
23
+ aria2 \
24
+ build-essential \
25
+ libnss3-dev \
26
+ libgdk-pixbuf2.0-dev \
27
+ libgtk-3-dev \
28
+ libxss-dev \
29
+ zlib1g-dev \
30
+ libncurses5-dev \
31
+ libssl-dev \
32
+ libreadline-dev \
33
+ libffi-dev \
34
+ libasound2 \
35
+ make \
36
+ libnss3 \
37
+ software-properties-common && \
38
+ rm -rf /var/lib/apt/lists/*
39
+
40
+ RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash - && \
41
+ apt install nodejs && \
42
+ npm install -g yarn
43
+
44
+ WORKDIR $HOME
45
+
46
+ RUN git clone https://github.com/Lissy93/dashy.git && \
47
+ cd dashy && \
48
+ yarn && \
49
+ yarn build
50
+
51
+ WORKDIR $HOME/dashy
52
+
53
+ USER $USER
54
+
55
+ EXPOSE $PORT
56
+
57
+ CMD ["yarn", "start"]