Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions spee.ch/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:18.04 as prep
LABEL MAINTAINER="leopere [at] nixc [dot] us"
RUN apt-get update && \
apt-get install -y \
git \
curl \
unzip \
ffmpeg \
nodejs \
npm \
imagemagick
ARG REPO=https://github.com/lbryio/spee.ch
ARG VERSION=master
RUN git clone ${REPO} /spee.ch && \
cd /spee.ch && \
git checkout ${VERSION} && \
rm -rf .git && \
npm install

FROM ubuntu:18.04 as app
RUN apt-get update && \
apt-get install -y \
nodejs \
ffmpeg \
imagemagick \
npm
COPY --from=prep /spee.ch /spee.ch
WORKDIR /spee.ch
CMD /usr/bin/npm run build && /usr/bin/npm run start