File size: 654 Bytes
12161ea
 
 
 
 
 
 
 
 
 
c4d546e
 
12161ea
 
632ab6a
 
 
12161ea
 
632ab6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use an official Python runtime as a parent image
FROM python:3.9-slim

# Set the working directory inside the container
WORKDIR /app

# Copy the current directory contents into the container
COPY . /app

# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir --upgrade pip \
    && pip install --no-cache-dir -r requirements.txt

# Make a volume mount point for the input/output CSV files
# VOLUME ["/app/input_data.csv", "/app/output_data.csv"]

EXPOSE 7860

# Run the application (by default, run the main ETL process)
CMD ["streamlit", "run", "streamlit/Home.py", "--server.port=7860", "--server.address=0.0.0.0"]