Skip to content

Commit 95b62a5

Browse files
committed
Add files for auto start
1 parent 2324bae commit 95b62a5

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM whanos-javascript
2+
3+
RUN npm install -g typescript@4.4.3
4+
5+
RUN tsc
6+
7+
RUN find . -name "*.ts" -type f -not -path "./node_modules/*" -delete

whanos.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
deployment:
2+
replicas: 3
3+
resources:
4+
limits:
5+
memory: "128M"
6+
requests:
7+
memory: "64M"
8+
ports:
9+
- 3000

0 commit comments

Comments
 (0)