Spaces:
Sleeping
Sleeping
eienmojiki
commited on
Commit
•
6758983
1
Parent(s):
3ec4890
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|
4 |
TZ=Asia/Ho_Chi_Minh \
|
5 |
PORT=8080 \
|
6 |
USER=koga \
|
7 |
-
HOME=home/
|
8 |
|
9 |
USER root
|
10 |
|
@@ -48,9 +48,11 @@ RUN git clone https://github.com/Lissy93/dashy.git && \
|
|
48 |
npm install && \
|
49 |
npm run build
|
50 |
|
|
|
|
|
51 |
WORKDIR $HOME/dashy
|
52 |
|
53 |
-
|
54 |
|
55 |
EXPOSE $PORT
|
56 |
|
|
|
4 |
TZ=Asia/Ho_Chi_Minh \
|
5 |
PORT=8080 \
|
6 |
USER=koga \
|
7 |
+
HOME=home/user
|
8 |
|
9 |
USER root
|
10 |
|
|
|
48 |
npm install && \
|
49 |
npm run build
|
50 |
|
51 |
+
RUN RUN chown -R koga: $HOME/dashy
|
52 |
+
|
53 |
WORKDIR $HOME/dashy
|
54 |
|
55 |
+
USER koga
|
56 |
|
57 |
EXPOSE $PORT
|
58 |
|