switch to npm builds

This commit is contained in:
Alex 2020-05-15 15:01:54 -05:00
parent b6f372017e
commit 6732fe4db5
2 changed files with 1 additions and 17 deletions

View File

@ -1,17 +0,0 @@
# Use the official image as a parent image.
FROM node:current-slim
# Set the working directory.
WORKDIR ./DOCKER
# Copy the file from your host to your current location.
COPY ./package.json .
COPY ./package-lock.json .
# Run the command inside your image filesystem.
RUN npm install
# Run the specified command within the container.
CMD [ "npm", "start" ]
# Copy the rest of your app's source code from your host to your image filesystem.
COPY ./src/ .

View File

@ -8,6 +8,7 @@
"n": "^6.4.0",
"pretty-ms": "^6.0.1"
},
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",