Skip to content

Commit

Permalink
Update Dockerfile with requirements caching
Browse files Browse the repository at this point in the history
  • Loading branch information
pearlythepirate authored Oct 23, 2023
1 parent 8c290d3 commit 0d9810b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM ubuntu:latest

WORKDIR /subgen

RUN apt-get update && apt-get -y install python3 python3-pip

ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
RUN pip install -r requirements.txt

ENTRYPOINT ["python3"]
CMD ["/subgen/subgen.py"]
Expand Down

0 comments on commit 0d9810b

Please sign in to comment.