All checks were successful
Build and Publish Docker Image / docker (push) Successful in 36s
20 lines
512 B
Docker
20 lines
512 B
Docker
FROM alpine
|
|
|
|
# 1. Install Python 3, pip and build tools (needed for packages with C extensions)
|
|
RUN apk --no-cache add\
|
|
python3 \
|
|
py3-pip \
|
|
git \
|
|
nodejs
|
|
|
|
|
|
# 2. Install the Python packages that were listed in the Debian image
|
|
RUN python3 -m venv /opt/python-env
|
|
RUN /opt/python-env/bin/python3 -m pip install --upgrade pip
|
|
|
|
RUN /opt/python-env/bin/pip install --no-cache-dir \
|
|
zensical
|
|
|
|
# 3. (Optional) Clean up if you added any temporary files
|
|
RUN rm -rf /var/cache/apk/*
|