1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-13 01:36:20 +00:00
Files
rlister-dockerfiles/hastebin/Dockerfile
2016-10-24 13:53:55 -04:00

22 lines
343 B
Docker

FROM node:6
MAINTAINER Ric Lister, rlister@gmail.com
RUN DEBIAN_FRONTEND=noninteractive \
apt-get update && \
apt-get install -yq \
git
RUN git clone https://github.com/seejohnrun/haste-server.git /app
WORKDIR /app
RUN npm install
ADD ./app.sh /app/
RUN chmod 755 app.sh
EXPOSE 7777
ENV STORAGE_TYPE file
CMD [ "./app.sh" ]