diff --git a/Dockerfile b/Dockerfile index 90091d9..3a4ff98 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10 +FROM python:3 RUN useradd -ms /bin/bash user RUN mkdir /data && chown user /data USER user @@ -6,7 +6,7 @@ ADD --chown=user requirements.txt /app/requirements.txt WORKDIR /app RUN pip3 install -r requirements.txt ADD --chown=user . /app -RUN chmod +x /app/main.py +RUN chmod +x /app/commander.py VOLUME /data ENTRYPOINT [ "python3", "/app/main.py"] CMD ["-s", "/data/"] diff --git a/nullptr/commander.py b/nullptr/commander.py index 807a5d4..ad3aa5a 100644 --- a/nullptr/commander.py +++ b/nullptr/commander.py @@ -56,6 +56,7 @@ class Commander(CommandLine): for w in waypoints: if 'MARKETPLACE' in w.traits: self.api.marketplace(w) + print(f'marketplace at {w}') sleep(0.5) def all_waypoints(self, systems): @@ -64,6 +65,7 @@ class Commander(CommandLine): break r = self.api.list_waypoints(s) print(f'system {s}: {len(r)} waypoints') + self.all_specials(r) sleep(0.5) def all_systems(self):