mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2025-02-21 05:07:16 -05:00
switch to npm builds
This commit is contained in:
parent
b6f372017e
commit
6732fe4db5
17
Dockerfile
17
Dockerfile
@ -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/ .
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user