-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (18 loc) · 885 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
FROM python:3.8-buster
ENV DEBIAN_FRONTEND noninteractive
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo 'deb https://deb.nodesource.com/node_14.x buster main' > /etc/apt/sources.list.d/nodesource.list
RUN apt-get -qq update \
&& apt-get -qq install \
nodejs \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g sass postcss-cli autoprefixer
COPY bin/chrome_setup.bash bin/docker-provision script/config/packages /install/
RUN chmod u+x /install/docker-provision && /install/docker-provision
COPY pyproject.toml poetry.loc[k] /
RUN curl -sSL https://install.python-poetry.org | python - && \
echo 'export PATH="/root/.local/bin:$PATH"' > ~/.bashrc && \
export PATH="/root/.local/bin:$PATH" && \
poetry config virtualenvs.create false && \
poetry install