Skip to content

Commit

Permalink
Version 0.7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNaif2018 committed Dec 21, 2022
1 parent 83d3e2b commit a18d116
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
26 changes: 6 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
FROM node:16 as builder
FROM node:16-alpine

WORKDIR /src

COPY . .

RUN yarn install \
--prefer-offline \
--frozen-lockfile \
--non-interactive \
--production=false

RUN yarn build

RUN rm -rf node_modules && \
NODE_ENV=production yarn install \
--prefer-offline \
--pure-lockfile \
--non-interactive \
--production=true

FROM node:16-alpine

WORKDIR /src

COPY --from=builder /src .
--prefer-offline \
--frozen-lockfile \
--non-interactive && \
yarn build && \
yarn cache clean

RUN addgroup -g 19001 tor && addgroup node tor

Expand Down
1 change: 1 addition & 0 deletions router.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export function createRouter(
routerOptions || createDefaultRouter(ssrContext, config).options
const router = new Router({
...options,
base: config.ROOTPATH,
routes: [...options.routes, ...extendRoutes()],
})
router.beforeEach((to, from, next) =>
Expand Down
2 changes: 1 addition & 1 deletion version.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const VERSION = "0.6.15.3"
const VERSION = "0.7.0.0"

export default VERSION

0 comments on commit a18d116

Please sign in to comment.