-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
26 lines (20 loc) · 854 Bytes
/
Dockerfile.dev
File metadata and controls
26 lines (20 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Breadpool's WFTDA Certification Self-Evaluation
FROM python:3.12-slim
# Set the working directory
WORKDIR /workspaces/breadpool-self-eval
# Update OS package list, install packages, and clear apt cache
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y git ssh && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Copy the Python pip requirements file
COPY requirements/requirements_dev.txt requirements/requirements_dev.txt
# Upgrade pip and install requirements from the requirements file
RUN python -m pip install --no-cache-dir --upgrade pip && \
python -m pip install --no-cache-dir -r requirements/requirements_dev.txt && \
rm -rf requirements
# Set the PYTHONPATH environment variable
ENV PYTHONPATH=/workspaces/breadpool-self-eval
# Start the bash prompt
CMD ["/bin/bash"]