Files
welcomecenterbot/Dockerfile

18 lines
283 B
Docker
Raw Normal View History

2024-01-06 14:25:35 +03:00
FROM python:slim
2023-09-11 23:04:53 +03:00
WORKDIR /app
2024-01-06 14:25:35 +03:00
2024-02-12 15:50:35 +03:00
# Copy just the requirements file first
COPY requirements.txt .
2024-01-06 14:25:35 +03:00
2024-02-12 15:50:35 +03:00
# Install requirements
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . .
EXPOSE 8080
# Set the entry point
CMD ["python", "main.py"]