1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/json-server/Dockerfile

19 lines
271 B
Docker
Raw Normal View History

2016-05-09 04:28:37 +02:00
#
# Dockerfile for json-server
#
FROM alpine
2017-05-08 01:05:07 +02:00
MAINTAINER kev <noreply@easypi.pro>
2016-05-09 04:28:37 +02:00
WORKDIR /app
RUN set -xe \
&& apk add -U nodejs \
&& npm install -g json-server \
&& rm -rf /tmp/npm* /var/cache/apk/*
EXPOSE 3000
ENTRYPOINT ["json-server"]
CMD ["--help"]