Skip to content

Commit f90b931

Browse files
committed
feat: create simple dockerfile for very large image, to be trimmed
1 parent 17c1099 commit f90b931

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Dockerfile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Dockerfile
2+
3+
# Apple Silicon (ARM64) Compatible Base Image
4+
# FROM --platform=linux/arm64 python3.12=slim
5+
# FROM python:3.12-slim
6+
# FROM --platform=linux/arm64 python:3.12-slim
7+
FROM python:3.12-slim
8+
9+
# Define In-Container Working Directory
10+
# WORKDIR /app
11+
12+
# Copy Project Files From Host -> Container (config/metadata, source, aux scripts)
13+
# COPY <src> <target>
14+
15+
COPY pyproject.toml ./
16+
COPY src/ ./src/
17+
COPY scripts/ ./scripts/
18+
19+
# Install Dependencies
20+
# RUN pip install --upgrade pip && pip install .
21+
RUN pip install --upgrade --force-reinstall --no-cache-dir six
22+
RUN pip install --upgrade --force-reinstall --no-cache-dir pandas
23+
RUN pip install --upgrade pip && pip install .
24+
25+
# Initialize interactive python session for testing
26+
CMD ["python3"]

0 commit comments

Comments
 (0)