Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -9,6 +9,6 @@ WORKDIR /app
|
|
| 9 |
RUN wget https://github.com/Kianmhz/GooseRelayVPN/releases/latest/download/GooseRelayVPN-server-v1.6.0-linux-amd64.tar.gz && \
|
| 10 |
tar -xzf GooseRelayVPN-server-v1.6.0-linux-amd64.tar.gz --strip-components 1
|
| 11 |
|
| 12 |
-
RUN --mount=type=secret,id=SERVER_CONFIG,mode=0444,required=true
|
| 13 |
-
|
| 14 |
CMD ["./goose-server"]
|
|
|
|
| 9 |
RUN wget https://github.com/Kianmhz/GooseRelayVPN/releases/latest/download/GooseRelayVPN-server-v1.6.0-linux-amd64.tar.gz && \
|
| 10 |
tar -xzf GooseRelayVPN-server-v1.6.0-linux-amd64.tar.gz --strip-components 1
|
| 11 |
|
| 12 |
+
RUN --mount=type=secret,id=SERVER_CONFIG,mode=0444,required=true && \
|
| 13 |
+
cp /run/secrets/SERVER_CONFIG /app/server_config.json
|
| 14 |
CMD ["./goose-server"]
|