Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
Loading items

Target

Select target project
  • iiif/mirador/mirador-file-uploader
1 result
Select Git revision
Loading items
Show changes
Commits on Source (2)
# From base image node
FROM node:16
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Copying all the files from your file system to container file system
COPY package.json .
# Install all dependencies
RUN npm install
# Copy other files too
COPY ./ .
# Expose the port
EXPOSE 3030
# Command to run app when intantiate an image
CMD ["npm","start"]
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"description": "", "description": "",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",
......