mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
fix port
This commit is contained in:
@@ -18,8 +18,6 @@ ENV RUN_MODE server
|
||||
ENV LISTEN_ADDR 0.0.0.0
|
||||
ENV LISTEN_PORT 4911
|
||||
|
||||
EXPOSE $LISTEN_PORT
|
||||
|
||||
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \
|
||||
scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
|
||||
$RUN_MODE $LISTEN_ADDR:$LISTEN_PORT
|
||||
|
||||
@@ -85,3 +85,5 @@ You can generate one via this command:
|
||||
```
|
||||
python -c 'import base64, os; print base64.b32encode(os.urandom(20))'
|
||||
```
|
||||
|
||||
Note: There's no ports exposed in Dockerfile. You need to expose port explicitly.
|
||||
|
||||
Reference in New Issue
Block a user