Forráskód Böngészése

Initial version of Dockerfile

Andy Esnard 1 éve
szülő
commit
dd2ceafe27
1 módosított fájl, 13 hozzáadás és 0 törlés
  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"]