-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Dockerfile to update environment variable names and values
- Loading branch information
Showing
6 changed files
with
11 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,4 @@ RUN cd /home/devbox/project && \ | |
npm install && \ | ||
npm run build | ||
|
||
|
||
RUN mkdir -p /home/devbox/.devbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
cd /home/devbox/project | ||
npm run start | ||
npm run preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,8 @@ | ||
{ | ||
"runtime": { | ||
"Framework": [ | ||
{ | ||
"name": "gin", | ||
"version": [ | ||
{ | ||
"name": "v1.10.0", | ||
"image": "ghcr.io/labring-actions/devbox/gin-v1.10.0:ec5b632", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "next.js", | ||
"version": [ | ||
{ | ||
"name": "14.2.5", | ||
"image": "ghcr.io/labring-actions/devbox/next.js-14.2.5:ec5b632", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "pytorch", | ||
"version": [ | ||
{ | ||
"name": "pytorch", | ||
"image": "ghcr.io/labring-actions/devbox/pytorch-pytorch:769de7", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
} | ||
], | ||
"Language": [ | ||
{ | ||
"name": "go", | ||
"version": [ | ||
{ | ||
"name": "1.22.5", | ||
"image": "ghcr.io/labring-actions/devbox/gin-v1.10.0:a9e413", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
} | ||
], | ||
"Framework": [], | ||
"Language": [], | ||
"Custom": [], | ||
"OS": [ | ||
{ | ||
"name": "ubuntu-cuda", | ||
"version": [ | ||
{ | ||
"name": "24.04", | ||
"image": "ghcr.io/labring-actions/devbox/ubuntu-cuda-24.04:df331ef", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "ubuntu", | ||
"version": [ | ||
{ | ||
"name": "24.04", | ||
"image": "ghcr.io/labring-actions/devbox/ubuntu-24.04:df331ef", | ||
"config": "{ports:\n [ {containerPort: 22,\n name: devbox-ssh-port,\n protocol: TCP}]\n appPorts:\n [{port: 8080,\n name: devbox-app-port,\n protocol: TCP}]\n user: devbox,\n workingDir: /home/devbox/project,\n releaseCommand:\n [/bin/bash\n , -c]\n releaseArgs:\n [/home/devbox/project/entrypoint.sh]}" | ||
} | ||
] | ||
} | ||
] | ||
"OS": [] | ||
} | ||
} |
Oops, something went wrong.