Skip to content
Snippets Groups Projects

Deployment configuration

Merged Thibaut DE SAIVRE requested to merge deployment-configuration into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
Dockerfile 0 → 100644
+ 17
0
FROM python:3.9.16-slim-bullseye
# Set the working directory to /JazzBot
WORKDIR /app
# Install python dependencies (first, in order to cache them)
COPY requirements.txt /app
RUN pip install --no-cache-dir -r requirements.txt
# Copy JazzBot contents to /app
COPY ./JazzBot /app
# Expose port 8501 for Streamlit app
EXPOSE 8501
# Run app.py when the container launches
CMD ["streamlit", "run", "app.py"]
\ No newline at end of file
Loading