Skip to content

Commit ccc1457

Browse files
committed
chore: add .dockerignore file to exclude unnecessary files from Docker context and update package name from 'testimonials' to 'simcasino'; adjust Node.js version in deployment workflow to latest LTS
1 parent c7fbebc commit ccc1457

File tree

4 files changed

+46
-3
lines changed

4 files changed

+46
-3
lines changed

.dockerignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Dependencies
2+
node_modules
3+
.pnpm-store
4+
5+
# Lockfile backups
6+
pnpm-lock.yaml.bak
7+
8+
# Build outputs
9+
dist
10+
build
11+
.next
12+
.turbo
13+
14+
# Git
15+
.git
16+
.gitignore
17+
18+
# Environment
19+
.env*
20+
!.env.example
21+
22+
# Docker
23+
.dockerignore
24+
**/Dockerfile
25+
docker-compose.yml
26+
27+
# Debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
pnpm-debug.log*
32+
33+
# System Files
34+
.DS_Store
35+
Thumbs.db
36+
37+
# Testing
38+
coverage
39+
40+
# Cache
41+
.eslintcache

.github/workflows/frontend-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch: # Allow manual triggering
1313

1414
env:
15-
NODE_VERSION: 23.5.0
15+
NODE_VERSION: 22.14.0 # Latest LTS version
1616
PNPM_VERSION: 9.9.0
1717

1818
jobs:

Docker/Dockerfile.api

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ RUN pnpm db:generate
2121

2222
RUN pnpm build --filter=api
2323

24-
CMD ["pnpm", "start", "--filter=api"]
24+
WORKDIR /usr/src/app/apps/api
25+
26+
CMD ["pnpm", "start"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"engines": {
2222
"node": ">=18"
2323
},
24-
"name": "testimonials",
24+
"name": "simcasino",
2525
"lint-staged": {
2626
"**/*.{js,jsx,ts,tsx}": [
2727
"pnpm lint",

0 commit comments

Comments
 (0)