Yusin commited on
Commit
c8561ad
·
1 Parent(s): afd322b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -26,12 +26,9 @@ RUN apt-get update \
26
  && pip3 --no-cache-dir install --upgrade pip \
27
  && rm -rf /var/lib/apt/lists/*
28
 
29
- WORKDIR /app
 
30
 
31
- COPY requirements.txt /app/requirements.txt
32
- RUN python -m pip install -r /app/requirements.txt
33
 
34
-
35
- COPY aberconnect.sh /app
36
- RUN chmod +x aberconnect.sh
37
- ENTRYPOINT ["./aberconnect.sh"]
 
26
  && pip3 --no-cache-dir install --upgrade pip \
27
  && rm -rf /var/lib/apt/lists/*
28
 
29
+ COPY requirements.txt .
30
+ RUN python -m pip install -r requirements.txt
31
 
32
+ COPY main.py .
 
33
 
34
+ CMD ["python", "main.py"]