Update Dockerfile
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
WORKDIR /subgen
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install python3 python3-pip
|
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
|
ADD https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py /subgen/subgen.py
|
||||||
|
|
||||||
ENTRYPOINT ["python3"]
|
CMD ["python", "-u", "subgen.py"]
|
||||||
CMD ["/subgen/subgen.py"]
|
|
||||||
|
|
||||||
EXPOSE 8090
|
EXPOSE 8090
|
||||||
|
|||||||
Reference in New Issue
Block a user