-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (28 loc) · 1.05 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
FROM python:3.7
ENV SASS_VERSION 1.32.8
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get update && apt-get install -y \
vim \
make \
rsync \
curl \
redis \
nginx \
nodejs \
firefox-esr
RUN npm install
RUN cd /tmp && \
curl \
--silent \
--location \
--request GET \
https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-linux-x64.tar.gz \
--output sass.tgz && \
tar xzvf sass.tgz && \
mv dart-sass/sass /usr/local/bin/
RUN pip install --upgrade pip
ENV PROJECT light-emitting-desk
COPY docker-config/bashrc /root/.bashrc
WORKDIR /opt/${PROJECT}
COPY ./ /opt/${PROJECT}
RUN make dev-install