mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-10-29 17:50:23 +00:00
Passwd join fix
This commit is contained in:
@@ -2,7 +2,7 @@ FROM python:3-alpine
|
|||||||
LABEL org.opencontainers.image.source github.com/akpw/mktxp
|
LABEL org.opencontainers.image.source github.com/akpw/mktxp
|
||||||
WORKDIR /mktxp
|
WORKDIR /mktxp
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pip install ./
|
RUN pip install ./ && apk add nano
|
||||||
EXPOSE 49090
|
EXPOSE 49090
|
||||||
ENTRYPOINT ["/usr/local/bin/mktxp"]
|
ENTRYPOINT ["/usr/local/bin/mktxp"]
|
||||||
CMD ["export"]
|
CMD ["export"]
|
||||||
|
|||||||
@@ -215,6 +215,8 @@ class MKTXPConfigHandler:
|
|||||||
|
|
||||||
for key in MKTXPConfigKeys.STR_KEYS:
|
for key in MKTXPConfigKeys.STR_KEYS:
|
||||||
config_entry_reader[key] = self.config[entry_name][key]
|
config_entry_reader[key] = self.config[entry_name][key]
|
||||||
|
if key is MKTXPConfigKeys.PASSWD_KEY and type(config_entry_reader[key]) is list:
|
||||||
|
config_entry_reader[key] = ','.join(config_entry_reader[key])
|
||||||
|
|
||||||
# port
|
# port
|
||||||
if self.config[entry_name].get(MKTXPConfigKeys.PORT_KEY):
|
if self.config[entry_name].get(MKTXPConfigKeys.PORT_KEY):
|
||||||
|
|||||||
Reference in New Issue
Block a user