Created
March 5, 2020 17:07
-
-
Save killmenot/74e0d7e556974c5ea195893dbc59398e to your computer and use it in GitHub Desktop.
Dockerfile for readk.it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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