Skip to content

Commit

Permalink
misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Nov 18, 2023
1 parent 0f1e8c0 commit cb6d386
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ FROM python:3.11-slim-bookworm
WORKDIR /app
COPY --from=builder /root/.local /root/.local
ENV PATH=/root/.local/bin:${PATH}
COPY --from=builder /app .
COPY --from=builder /app .
RUN pip install -e .
2 changes: 1 addition & 1 deletion docker_cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ docker run -itd \
-v $HOME/ankidecks:/output \
--restart unless-stopped \
personal-mnemonic-medium \
python application/cli.py /input/ $HOME/ankidecks --watch
python personal_mnemonic_medium/cli.py /input/ $HOME/ankidecks --watch --use-anki-connect
2 changes: 1 addition & 1 deletion personal_mnemonic_medium/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typer

from .main import main
from personal_mnemonic_medium.main import main

if __name__ == "__main__":
typer.run(main)

0 comments on commit cb6d386

Please sign in to comment.