change docker image from ubuntu:focal to node:12.18.3-buster-slim

install-with-shinobicctv-user-instead-of-root
Moe 2020-08-26 22:57:36 -07:00
parent d916b8d5cd
commit ea19db901c
1 changed files with 1 additions and 8 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:focal
FROM node:12.18.3-buster-slim
ENV DB_USER=majesticflame \
DB_PASSWORD=mizukagesbluedress \
@ -15,13 +15,6 @@ RUN mkdir -p /home/Shinobi /config /var/lib/mysql
RUN apt update -y
RUN apt install wget curl net-tools -y
# Install Node.js
RUN wget https://deb.nodesource.com/setup_12.x
RUN chmod +x setup_12.x
RUN ./setup_12.x
RUN apt install nodejs -y
RUN rm setup_12.x
# Install MariaDB server... the debian way
RUN set -ex; \
{ \