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
|
FROM node:14
|
||||||
|
RUN mkdir /app
|
||||||
# Create app directory
|
WORKDIR /app
|
||||||
WORKDIR /usr/src/app
|
COPY package.json /app
|
||||||
|
COPY yarn.lock /app
|
||||||
# Install app dependencies
|
RUN yarn --production --pure-lockfile
|
||||||
COPY package*.json ./
|
COPY . /app
|
||||||
|
|
||||||
RUN npm install
|
|
||||||
|
|
||||||
# Bundle app source
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
EXPOSE 3000
|
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",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bent": "^7.3.12",
|
"bent": "^7.3.12",
|
||||||
"doipjs": "^0.7.5",
|
"doipjs": "^0.8.0",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"express-validator": "^6.8.0",
|
"express-validator": "^6.8.0",
|
||||||
|
|
Loading…
Reference in a new issue