Update Dockerfile
Browse files- 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 |
-
|
| 17 |
-
ENV 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 ["
|
|
|
|
| 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"]
|