-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
39 lines (31 loc) · 822 Bytes
/
Copy pathDockerfile.dev
File metadata and controls
39 lines (31 loc) · 822 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
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM python:3.13-alpine
# Install system dependencies
RUN apk update && apk add --no-cache \
tzdata \
musl-locales \
musl-locales-lang \
gcc \
musl-dev \
libffi-dev \
openssl-dev \
rust \
cargo
# Set locale environment
ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl"
ENV TZ=UTC
# Set working directory
WORKDIR /app
# Copy all required files first
COPY requirements-pip.txt .
COPY pyproject.toml .
COPY LICENSE.md .
COPY README_PYPI.md .
COPY src/ src/
# Install Python dependencies from requirements first
RUN pip install --no-cache-dir -r requirements-pip.txt
# Install the package in development mode (this will install all dependencies)
RUN pip install --no-cache-dir -e .
# Expose port for web UI
EXPOSE 8080
# Set entrypoint
ENTRYPOINT ["python", "-m", "starters.icloudpd"]