Skip to content

Commit b619dcf

Browse files
author
Anton Nemtsev
committed
I have reorganized package.json and add npm ci
1 parent 4d0ecde commit b619dcf

File tree

8 files changed

+8336
-7952
lines changed

8 files changed

+8336
-7952
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MONGODB_HOST=localhost
33
MONGODB_PORT=27017
44
MONGODB_NAME=fm
55
COOKIE_DOMAIN=.frontender.info
6-
DOMAIN=https://frontender.info/
6+
DOMAIN=frontender.info
77
DEFAULT_REDIRECT=https://user.frontender.info/
88
TOKEN_SERVICE=https://token.frontender.info/token/
99
ORG_NAME=FrontenderMagazine

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ COPY package-lock.json .
1414
FROM base AS dependencies
1515
RUN apk add --update python build-base
1616
# install node packages
17-
RUN npm install --only=prod --silent
17+
RUN npm ci --only=prod --silent
1818
# copy production node_modules aside
1919
RUN cp -R node_modules prod_node_modules
2020
# install ALL node_modules, including 'devDependencies'
21-
RUN npm install --silent
21+
RUN npm ci --silent
2222
# Run in production mode
2323

2424
#

deploy/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

deploy/deploy.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)