mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 00:39:56 +00:00
41 lines
949 B
Docker
41 lines
949 B
Docker
ARG BUILDPACK_DEPS_BASE="bullseye"
|
|
FROM buildpack-deps:${BUILDPACK_DEPS_BASE} as header
|
|
|
|
# switch to nvm?
|
|
ARG NODE_VERSION=18
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash -
|
|
RUN apt-get update
|
|
RUN apt-get install -y nodejs
|
|
|
|
RUN apt-get -y update
|
|
RUN apt-get -y upgrade
|
|
RUN apt-get -y install software-properties-common apt-utils
|
|
RUN apt-get -y update
|
|
|
|
# base development stuff
|
|
RUN apt-get -y install \
|
|
build-essential \
|
|
gcc \
|
|
libgirepository1.0-dev \
|
|
libglib2.0-dev \
|
|
pkg-config
|
|
|
|
# python native
|
|
RUN apt-get -y install \
|
|
python3 \
|
|
python3-dev \
|
|
python3-gi \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel
|
|
|
|
|
|
# python pip
|
|
RUN python3 -m pip install --upgrade pip
|
|
RUN python3 -m pip install aiofiles debugpy typing_extensions typing psutil
|
|
|
|
ENV SCRYPTED_DOCKER_SERVE="true"
|
|
ENV SCRYPTED_CAN_RESTART="true"
|
|
ENV SCRYPTED_VOLUME="/server/volume"
|
|
ENV SCRYPTED_INSTALL_PATH="/server"
|