add entrypoint
This commit is contained in:
@@ -9,4 +9,10 @@ RUN pip install --upgrade pip
|
||||
COPY ./requirements.txt .
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
COPY ./entrypoint.sh .
|
||||
RUN sed -i 's/\r$//g' /usr/src/app/entrypoint.sh
|
||||
RUN chmod +x /usr/src/app/entrypoint.sh
|
||||
|
||||
COPY . .
|
||||
|
||||
ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user