generated from devzolo/nodejs-addon-api-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 1.18 KB
/
Dockerfile
File metadata and controls
33 lines (28 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM gcc:9.5.0
RUN apt-get update && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y yarn
RUN apt-get update && apt-get install -y python3 python3-pip
# FROM node:latest
RUN apt-get upgrade -y
RUN apt-get update
RUN apt-get install libx11-dev -y
RUN apt-get install libgl1-mesa-dev -y
RUN apt-get install libglfw3-dev -y
RUN apt-get install libglu1-mesa-dev -y
RUN apt-get install libxi-dev -y
COPY . /usr/src/app
WORKDIR /usr/src/app
# RUN apt-get install libmesa-dev
# RUN apt-get upgrade -y
# RUN dpkg --add-architecture i386
# RUN apt-get update
# RUN apt-get install build-essential -y
# RUN apt-get install libssl-dev -y
# RUN apt-get clean
# RUN curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
# RUN apt-get update
# RUN apt-get install nodejs -y
# RUN curl -sL https://deb.nodesource.com/setup_14.x
# RUN apt-get install -y nodejs
# RUN apt-get install -y npm
# RUN npm install -g npm@latest