-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (28 loc) · 997 Bytes
/
Dockerfile
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
FROM debian:latest
# adding proxy privoxy
# RUN export https_proxy=http://localhost:8118 && export http_proxy=http://localhost:8118
# update packages
RUN apt update && apt upgrade -y
# Installing updated wget
RUN apt install -y wget apt-utils
# Installing bash
# RUN apt install build-essential -y
# RUN echo "https_proxy=http://localhost:8118" >> /etc/wgetrc
# RUN echo "http_proxy=http://localhost:8118" >> /etc/wgetrc
# Installing NVM
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
&& export NVM_DIR="$HOME/.nvm" \
&& [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \
&& [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \
&& nvm install 14 \
&& nvm use 14 \
&& npm config set registry http://registry.npmjs.org \
&& npm config set unsafe-perm true \
&& npm install -g @vue/cli \
&& npm install -g serve \
&& npm install -g pm2
WORKDIR /app
EXPOSE 3000
EXPOSE 8080
EXPOSE 5000
MAINTAINER Arthur Jose Germano <[email protected]>