Files
bookings_app/.devcontainer/Dockerfile
2024-08-22 20:25:59 +01:00

19 lines
445 B
Docker

# Use the official Python image.
# More info: https://hub.docker.com/_/python
FROM python:3.11-slim
# Set up the container for Python development
WORKDIR /workspace
COPY requirements.txt /workspace
# Install Python dependencies
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Install additional packages if needed
# RUN apt-get update && apt-get install -y <package_name>
# Expose port 8000 to access Django
EXPOSE 8000