tscdev commited on
Commit
d853d64
·
verified ·
1 Parent(s): 828c3af

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -13,8 +13,8 @@ RUN apt-get update && \
13
 
14
  # Add a directory to store your secrets (if you want to store this securely, you should use Docker secrets or a secure environment variable system)
15
  # Alternatively, this secret can be passed during build time or as a runtime environment variable
16
- ARG zp_path
17
- ENV ZP_PATH=${zp_path}
18
 
19
  # Print the value of ZP_PATH to verify it's set
20
  RUN echo "The ZP_PATH is: ${ZP_PATH}"
@@ -35,4 +35,4 @@ WORKDIR /tmp/model
35
  # List the contents of the model directory
36
  RUN ls
37
 
38
- CMD ["bash"]
 
13
 
14
  # Add a directory to store your secrets (if you want to store this securely, you should use Docker secrets or a secure environment variable system)
15
  # Alternatively, this secret can be passed during build time or as a runtime environment variable
16
+
17
+ ENV ZP_PATH=$(cat /run/secrets/zp_path)
18
 
19
  # Print the value of ZP_PATH to verify it's set
20
  RUN echo "The ZP_PATH is: ${ZP_PATH}"
 
35
  # List the contents of the model directory
36
  RUN ls
37
 
38
+ CMD ["v2ray"]