1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-02 09:21:34 +02:00
dockerfiles/json-server/Dockerfile
2017-07-10 17:02:16 +08:00

19 lines
290 B
Docker

#
# Dockerfile for json-server
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
WORKDIR /app
RUN set -xe \
&& apk add --no-cache nodejs nodejs-npm \
&& npm install -g json-server \
&& rm -rf /tmp/npm* /var/cache/apk/*
EXPOSE 3000
ENTRYPOINT ["json-server"]
CMD ["--help"]