mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
19 lines
288 B
Docker
19 lines
288 B
Docker
#
|
|
# Dockerfile for json-server
|
|
#
|
|
|
|
FROM alpine:3
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache nodejs npm \
|
|
&& npm install -g json-server \
|
|
&& rm -rf /tmp/npm* /var/cache/apk/*
|
|
|
|
WORKDIR /data
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["json-server"]
|
|
CMD ["--help"]
|