microservices/deployment-service/snakeapi_service/dockerfile
2025-04-29 15:01:23 -07:00

15 lines
273 B
Text

FROM python:3.11-slim
WORKDIR /app
RUN 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=3006
EXPOSE 3006
CMD ["./entrypoint.sh"]