mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-25 23:03:34 +01:00
fix json-server (FIX #187)
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
# Dockerfile for json-server
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
|
||||
WORKDIR /data
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache nodejs nodejs-npm \
|
||||
&& npm install -g json-server \
|
||||
&& rm -rf /tmp/npm* /var/cache/apk/*
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENTRYPOINT ["json-server"]
|
||||
|
||||
Reference in New Issue
Block a user