Skip to content

Commit

Permalink
chore: update cd
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Mar 7, 2024
1 parent 7af9b4f commit 5176b42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY . .
RUN npm install
RUN npm run build

CMD npm run migrate \
CMD npm run build:post \
&& rm -rf ../api-build/node_modules \
&& cp -r node_modules ../api-build \
&& npm start
Expand Down
4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "dist/index.js",
"types": "src/index.ts",
"scripts": {
"build": "aeria -ci",
"migrate": "aeria -m",
"build": "aeria -c",
"build:post": "aeria -mi",
"dev": "aeria -w",
"start": "node -r aeria/loader ./release/index.js"
},
Expand Down

0 comments on commit 5176b42

Please sign in to comment.