Skip to content

Commit

Permalink
Upgrade nodejs in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpolman committed May 18, 2024
1 parent fd0a59c commit 2fa53eb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x] # Add other versions if needed
node-version: ['18'] # Add other versions if needed

steps:
- name: Checkout repository
Expand Down
6 changes: 3 additions & 3 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#####################################################################################################
## Develop stage
#####################################################################################################
FROM node:16-slim AS develop
FROM node:18-slim AS develop

WORKDIR /usr/src/app

Expand All @@ -21,7 +21,7 @@ CMD [ "npx", "nx", "serve", "api" ]
#####################################################################################################
## Build stage
#####################################################################################################
FROM node:16-slim AS build
FROM node:18-slim AS build

ENV NODE_ENV=production

Expand All @@ -34,7 +34,7 @@ COPY ./libs/contracts/exports ./dist/apps/api/libs/contracts/exports
#####################################################################################################
## Production stage
#####################################################################################################
FROM node:16-slim AS production
FROM node:18-slim AS production

ENV NODE_ENV=production

Expand Down
1 change: 0 additions & 1 deletion apps/app/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ declare module 'vue' {
BSpinner: typeof import('bootstrap-vue-next')['BSpinner']
BTab: typeof import('bootstrap-vue-next')['BTab']
BTabs: typeof import('bootstrap-vue-next')['BTabs']
copy: typeof import('./src/components/blockquote/BaseBlockquoteDiscordServerJoin copy.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
Expand Down
2 changes: 1 addition & 1 deletion apps/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const config: UserConfigExport = {
resolve: {
alias: [
{ find: '@thxnetwork/app', replacement: path.resolve(__dirname, './src') },
{ find: '@thxnetwork/common', replacement: path.resolve(__dirname, '../../libs/common/src') },
{ find: '@thxnetwork/common', replacement: path.resolve(__dirname, '../../libs/common/src/lib') },
],
},
optimizeDeps: {
Expand Down

0 comments on commit 2fa53eb

Please sign in to comment.