Kaynağa Gözat

Initial version of Dockerfile

Andy Esnard 1 yıl önce
ebeveyn
işleme
dd2ceafe27
1 değiştirilmiş dosya ile 13 ekleme ve 0 silme
  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"]