First commit
This commit is contained in:
18
.devcontainer/Dockerfile
Normal file
18
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user