ductotaha commited on
Commit
4e90a04
·
1 Parent(s): 90f34b0

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -0
Dockerfile ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:latest
2
+ USER root
3
+
4
+ RUN apt-get update -y > /dev/null 2>&1 && \
5
+ apt-get upgrade -y > /dev/null 2>&1 && \
6
+ apt-get install -y sudo > /dev/null 2>&1 && \
7
+ apt-get install -y apt-utils > /dev/null 2>&1 && \
8
+ apt-get install -y python3-pip > /dev/null 2>&1 && \
9
+ pip3 install --upgrade pip > /dev/null 2>&1
10
+
11
+ RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip > /dev/null 2>&1
12
+
13
+ RUN touch ~/.bashrc
14
+ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
15
+ RUN apt-get install -y nodejs > /dev/null 2>&1
16
+ RUN apt-get install -y npm > /dev/null 2>&1
17
+ RUN npm install -g n
18
+ RUN n stable
19
+ RUN npm install -g yarn > /dev/null 2>&1
20
+
21
+ WORKDIR /code
22
+ RUN chmod a+rw /code
23
+
24
+ RUN npx supabase
25
+
26
+
27
+