Parcourir la source

Initial version of Dockerfile

Andy Esnard il y a 1 an
Parent
commit
dd2ceafe27
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      Dockerfile

+ 13 - 0
Dockerfile

@@ -0,0 +1,13 @@
+FROM python:3.7
+
+WORKDIR /opt/MyAnimeBot
+
+COPY requirements.txt .
+
+RUN pip install --no-cache-dir -r requirements.txt
+
+COPY . .
+
+RUN chown -R 0:0 /opt/MyAnimeBot && chmod -R g+rw /opt/MyAnimeBot
+
+CMD ["python", "myanimebot.py"]