mapillary-js/Dockerfile
2022-07-26 15:37:51 -07:00

25 lines
618 B
Docker

FROM ubuntu:20.10
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y \
git \
curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
RUN 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 update && \
apt install yarn
COPY . /source/original-source/mapillary-js
WORKDIR /source/mapillary-js