mirror of
https://github.com/koush/scrypted.git
synced 2026-02-10 01:02:18 +00:00
26 lines
747 B
Docker
26 lines
747 B
Docker
ARG BUILDPACK_DEPS_BASE="bullseye"
|
|
FROM debian:${BUILDPACK_DEPS_BASE} as header
|
|
|
|
RUN apt-get update && apt-get -y install curl wget
|
|
|
|
# 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
|
|
|
|
ENV SCRYPTED_DOCKER_SERVE="true"
|
|
ENV SCRYPTED_CAN_RESTART="true"
|
|
ENV SCRYPTED_VOLUME="/server/volume"
|
|
ENV SCRYPTED_INSTALL_PATH="/server"
|
|
|
|
# changing this forces pip and npm to perform reinstalls.
|
|
# if this base image changes, this version must be updated.
|
|
ENV SCRYPTED_BASE_VERSION=20230329
|
|
ENV SCRYPTED_DOCKER_FLAVOR=thin
|