Skip to content

Instantly share code, notes, and snippets.

@killmenot
Created March 5, 2020 17:07
Show Gist options
  • Save killmenot/74e0d7e556974c5ea195893dbc59398e to your computer and use it in GitHub Desktop.
Save killmenot/74e0d7e556974c5ea195893dbc59398e to your computer and use it in GitHub Desktop.
Dockerfile for readk.it
FROM node:13-alpine
RUN mkdir -p /readk.it
WORKDIR /readk.it
COPY package.json .
RUN apk update \
&& apk add --no-cache \
python \
python-dev \
ruby \
ruby-bundler \
ruby-dev \
ruby-rdoc \
g++ \
gcc \
libxslt-dev \
make \
py-pip \
git \
&& rm -rf /var/lib/apk/*
RUN pip install lxml
RUN gem update --system && gem install compass --no-document
RUN npm install -g grunt http-server
RUN npm install
EXPOSE 8080
CMD ["http-server", "dist"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment