14 lines
182 B
Docker
14 lines
182 B
Docker
|
FROM node:latest
|
||
|
|
||
|
RUN npm install -g json-server
|
||
|
|
||
|
COPY init/entrypoint.sh /opt/entrypoint.sh
|
||
|
|
||
|
WORKDIR /data
|
||
|
VOLUME /data
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
ENTRYPOINT ["bash", "/opt/entrypoint.sh"]
|
||
|
CMD []
|