working on implementing server.js

This commit is contained in:
yoshi 2025-04-25 09:21:18 -07:00
parent 4ccc534f3d
commit 55b2398370
13 changed files with 2320 additions and 0 deletions

View file

@ -0,0 +1,19 @@
FROM python:3.11-slim
WORKDIR /app
# Install Jupyter, Flask, AWS CLI
RUN pip install --no-cache-dir jupyter flask awscli
# Copy runner scripts and notebook (relative to this Dockerfile)
COPY entrypoint.sh .
COPY battlesnake_server.py .
COPY notebook.ipynb .
RUN chmod +x entrypoint.sh
# Set and expose the port
ENV PORT=3006
EXPOSE 3006
# Start the notebook-to-Flask loop
CMD ["./entrypoint.sh"]