Skip to content

Commit

Permalink
CD
Browse files Browse the repository at this point in the history
  • Loading branch information
geunoo committed Dec 28, 2023
1 parent cbd6604 commit 85f066c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .xquare/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
config:
name: afterschool
prefix: "/after"
service_type: be
port: 8080
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:20-alpine
WORKDIR /var/app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3030
CMD ["npm", "start", "prod"]
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typeorm": "^0.3.17",
"typeorm-naming-strategies": "^4.1.0"
"typeorm-naming-strategies": "^4.1.0",
"@nestjs/cli": "^10.0.0"
},
"devDependencies": {
"@nestjs/cli": "^10.0.0",
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@types/express": "^4.17.17",
Expand Down

0 comments on commit 85f066c

Please sign in to comment.