add Docker entrypoint for container initialization
This commit is contained in:
@@ -4,4 +4,6 @@ RUN apt-get update && apt-get install -y gcc libffi-dev build-essential && rm -r
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
CMD ["python", "main.py"]
|
||||
Reference in New Issue
Block a user