Commit deb2d55a authored by Federico Semprini's avatar Federico Semprini
Browse files

first commit

parents
Pipeline #1742 failed with stages
in 17 seconds
data/*
!data/.gitkeep
\ No newline at end of file
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/fake-server.iml" filepath="$PROJECT_DIR$/.idea/fake-server.iml" />
</modules>
</component>
</project>
\ No newline at end of file
FROM node:alpine
WORKDIR /src
RUN npm install json-server lodash faker
EXPOSE 3000
ENTRYPOINT ["npx","json-server","--host","0.0.0.0"]
\ No newline at end of file
#!/bin/bash
docker build -t fake-server .
\ No newline at end of file
#!/bin/bash
docker run -d --rm -p 3000:3000 -v $PWD/data:/src/data --name fake-server fake-server $*
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment