nyc_taxi_app / Dockerfile
Daniela-C's picture
Update Dockerfile
dba1d94 verified
raw
history blame contribute delete
261 Bytes
FROM python:3.10-slim
# Set up a working directory
WORKDIR /app
# Copy files
COPY requirements.txt ./
COPY nyc_taxi_app.py ./
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Run the application
CMD ["python", "nyc_taxi_app.py"]