1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-13 01:36:20 +00:00
Files
rlister-dockerfiles/hastebin/Dockerfile
Angristan 87e6eabf3e Use Alpine
Lighter images :)
2018-03-10 14:27:40 +01:00

20 lines
295 B
Docker

FROM node:6-alpine
MAINTAINER Ric Lister, rlister@gmail.com
RUN apk -U upgrade \
&& apk add 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" ]