Skip to content

Instantly share code, notes, and snippets.

@cainlevy
Created December 3, 2021 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cainlevy/daa901af394f7d7174dd4efb1b0a1e30 to your computer and use it in GitHub Desktop.
Save cainlevy/daa901af394f7d7174dd4efb1b0a1e30 to your computer and use it in GitHub Desktop.
FROM docker.io/ubuntu:20.04
# Configure apt, install updates and common packages, and clean up apt's cache
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install --assume-yes --no-install-recommends \
curl \
npm \
build-essential \
python3-pip
RUN npm install -g n
RUN n 14.16.0
# Copy package.json into container
RUN mkdir -p /app/src
COPY package.json /app/src/
WORKDIR /app/src
RUN npm install
{
"name": "gh724",
"version": "0.0.1",
"dependencies": {
"mediasoup": "^3.9.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment