Pointing to the python file was not needed as it's already pulled into the correct folder
15 lines
307 B
Docker
15 lines
307 B
Docker
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/requirements.txt /subgen/requirements.txt
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["/subgen/subgen.py"]
|
|
|
|
EXPOSE 8090
|