added snake-api-template

This commit is contained in:
JBB0807 2025-05-01 11:10:32 -07:00
parent 549423d867
commit 0b1942d773
5 changed files with 488 additions and 0 deletions

View file

@ -0,0 +1,17 @@
FROM python:3.11-slim
WORKDIR /app
RUN python -m pip install --upgrade pip && \
pip install --no-cache-dir jupyter flask awscli flask_cors nbconvert nbformat
COPY ./entrypoint.sh .
COPY ./notebooks ./notebooks
COPY ./snakeapi_server.py .
RUN chmod +x entrypoint.sh
ENV PORT=8000
EXPOSE 8000
CMD ["./entrypoint.sh"]