-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
executable file
·65 lines (52 loc) · 1.35 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
############################################
# guilmour.org
# Libreflix.org
############################################
FROM ubuntu:16.04
MAINTAINER [email protected]
# Apt install some tools
RUN apt-get update && apt-get install -y \
build-essential \
unzip \
wget \
curl \
# software-properties-common= \
&& rm -rf /var/lib/apt/lists/*
#Getting Node
# RUN apt-get install fish -y
RUN wget https://deb.nodesource.com/setup_10.x
RUN chmod +x setup_10.x
RUN ./setup_10.x
# FIX
# RUN apt-get update
RUN apt-get clean
RUN apt-get autoremove
RUN apt --fix-broken install
# RUN apt-get update -y
# RUN apt-get upgrade -y
# RUN dpkg --configure -a
# RUN apt-get install -f
# END FIX
# RUN rm -rf node_modules
RUN apt-get install nodejs -y
# RUN apt-get install npm -y
RUN apt-get install -y build-essential
RUN npm install -g n
RUN npm cache clean --force
# Define working directory.
WORKDIR /libreflix
COPY package*.json ./
RUN apt-get install -y python2.7
RUN npm config set python "/usr/bin/python2.7"
RUN n 10.0.0
RUN npm install [email protected]
RUN npm i @messageformat/[email protected]
RUN npm install [email protected]
RUN n 6.1.0
# RUN npm install cookie-parser
RUN npm install -g [email protected]
# RUN npm install [email protected] --save
# RUN npm i --verbose --prefer-offline --pure-lockfile
COPY . /libreflix/
# Define default command.
CMD ["/bin/bash"]