Spaces:
Sleeping
Sleeping
eienmojiki
commited on
Commit
•
8686459
1
Parent(s):
90a9a57
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -41,16 +41,16 @@ 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 |
-
|
48 |
-
|
49 |
-
npm run build
|
50 |
-
|
51 |
-
# WORKDIR $HOME/dashy
|
52 |
|
53 |
-
|
|
|
54 |
|
55 |
EXPOSE $PORT
|
56 |
|
|
|
41 |
apt install nodejs
|
42 |
# npm install -g yarn
|
43 |
|
44 |
+
USER koga
|
45 |
+
|
46 |
WORKDIR $HOME
|
47 |
|
48 |
RUN git clone https://github.com/Lissy93/dashy.git && \
|
49 |
+
|
50 |
+
WORKDIR $HOME/dashy
|
|
|
|
|
|
|
51 |
|
52 |
+
RUN npm install && \
|
53 |
+
npm run build
|
54 |
|
55 |
EXPOSE $PORT
|
56 |
|