Skip to content

Commit 3c3a93b

Browse files
authored
Merge pull request #12 from mattsizzle/docker-support
Add support for running in Docker
2 parents ad72619 + 773e6ea commit 3c3a93b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM python:3.9-slim
2+
3+
WORKDIR /app
4+
COPY . /app
5+
6+
RUN pip install .
7+
8+
CMD ["python", "-m", "plex2letterboxd"]

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ optional arguments:
4141

4242
The generated CSV file can be uploaded to Letterboxd at https://letterboxd.com/import/.
4343

44+
### Docker
45+
46+
Build the docker image and pass a `letterboxd.csv` file into the docker run command to store the generated csv.
47+
48+
```console
49+
docker build -t plex2letterboxd .
50+
docker run -v $(pwd)/config.ini:/app/config.ini -v $(pwd)/letterboxd.csv:/app/letterboxd.csv plex2letterboxd
51+
```
52+
4453
## Author
4554

4655
[Max Timkovich][profile]

0 commit comments

Comments
 (0)