mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Switch to yarn
This commit is contained in:
parent
0993ee570b
commit
a1f20f5818
4 changed files with 2417 additions and 3015 deletions
22
Dockerfile
22
Dockerfile
|
@ -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
3000
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue