mirror of
https://github.com/Screenly/Anthias.git
synced 2026-05-03 04:45:31 -04:00
* Upgrades base image to Buster (from Jessie) * Upgrades requirements * Refactors Dockerfiles to best practice
19 lines
485 B
Docker
19 lines
485 B
Docker
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y install --no-install-recommends \
|
|
build-essential \
|
|
curl \
|
|
python-pip \
|
|
python-setuptools \
|
|
python-dev && \
|
|
apt-get clean
|
|
|
|
# Install Python requirements
|
|
ADD requirements/requirements-websocket.txt /tmp/requirements.txt
|
|
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
|
|
|
COPY . /tmp/screenly
|
|
|
|
CMD ["bash", "/tmp/screenly/bin/start_balena.sh"]
|