Switch to yarn

This commit is contained in:
Yarmo Mackenbach 2020-12-11 11:11:03 +01:00
parent 0993ee570b
commit a1f20f5818
4 changed files with 2417 additions and 3015 deletions

View file

@ -1,15 +1,9 @@
FROM node:12
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
FROM node:14
RUN mkdir /app
WORKDIR /app
COPY package.json /app
COPY yarn.lock /app
RUN yarn --production --pure-lockfile
COPY . /app
EXPOSE 3000
CMD [ "node", "index.js" ]
CMD yarn start

3000
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@
"main": "index.js",
"dependencies": {
"bent": "^7.3.12",
"doipjs": "^0.7.5",
"doipjs": "^0.8.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-validator": "^6.8.0",

2408
yarn.lock Normal file

File diff suppressed because it is too large Load diff