Selaa lähdekoodia

Added Dockerfile

foreverpositive 2 vuotta sitten
vanhempi
commit
21fdf767e4
1 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 13 0
      Dockerfile

+ 13 - 0
Dockerfile

@@ -0,0 +1,13 @@
+FROM ubuntu
+
+WORKDIR /
+
+RUN apt-get update -y && apt-get upgrade -y && apt-get install -y git python3 python3-pip
+
+RUN git clone https://github.com/foreverpositive/New-Phystech-Printers-Bot.git cloned
+
+RUN mv cloned/* .. && rm -rf cloned
+
+RUN pip install -r requirements.txt
+
+CMD python main.py