-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
42 lines (29 loc) · 880 Bytes
/
Dockerfile
File metadata and controls
42 lines (29 loc) · 880 Bytes
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
34
35
36
37
38
39
40
41
42
FROM node:15.8
LABEL maintainer="Vincent Faliès <vincent@vfac.fr>"
USER root
WORKDIR /usr/app
COPY ./ /usr/app
# NPM last version
RUN npm i npm@latest -g
# Grunt
RUN npm install -g grunt-cli
# Gulp
RUN npm install -g gulp-cli \
&& npm install gulp -D
# Yarn
RUN apt-get update && apt-get install -y apt-transport-https ca-certificates \
&& 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 --no-install-recommends yarn \
&& rm -rf /var/lib/apt/lists/*
# Typescript
RUN npm install -g typescript
# Create-React-App
RUN npm install -g create-react-app
# Nodemon
RUN npm install -g nodemon
# Expo React-Native
RUN npm install -g expo-cli
RUN npm i -f
USER vfac:vfac
CMD ["tail","-f","/dev/null"]