gordonchan commited on
Commit
4f36931
1 Parent(s): d9b1d16

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,8 +1,9 @@
1
  FROM privoce/vocechat-server:latest
2
 
3
- EXPOSE 3000
4
- RUN chmod 777 -R /home/vocechat-server
5
 
 
 
 
6
  WORKDIR /home/vocechat-server
7
-
8
  ENTRYPOINT ["/docker-entrypoint.sh"]
 
1
  FROM privoce/vocechat-server:latest
2
 
 
 
3
 
4
+ RUN --mount=type=secret,id=CONFIG,mode=0444,required=true \
5
+ cat /run/secrets/CONFIG|sh
6
+
7
  WORKDIR /home/vocechat-server
8
+ EXPOSE 3000
9
  ENTRYPOINT ["/docker-entrypoint.sh"]