14 lines
285 B
Docker
14 lines
285 B
Docker
FROM python:3.12
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
RUN pip install --no-cache-dir -r requirements.txt --break-system-packages
|
|
EXPOSE 5000
|
|
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod +x /usr/local/bin/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
|
|
|
CMD ["sh", "run.sh"]
|