FoodChemicalScanner-A / Dockerfile
Anupam202224's picture
Update Dockerfile
1b66d8e verified
raw
history blame contribute delete
225 Bytes
FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "your_script.py"]
docker build -t your_image_name .
docker run -p 8000:8000 your_image_name