mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 08:42:19 +00:00
23 lines
703 B
Docker
23 lines
703 B
Docker
ARG BASE="jammy"
|
|
FROM ubuntu:${BASE} as header
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get -y update && \
|
|
apt-get -y upgrade && \
|
|
apt-get -y install curl wget software-properties-common apt-utils
|
|
|
|
# switch to nvm?
|
|
ARG NODE_VERSION=18
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt-get update && apt-get install -y nodejs
|
|
|
|
ENV SCRYPTED_INSTALL_ENVIRONMENT="docker"
|
|
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=20230527
|
|
ENV SCRYPTED_DOCKER_FLAVOR=thin
|