Skip to content

Commit 8e619cb

Browse files
committed
add build/push instructions
1 parent b750a92 commit 8e619cb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,34 @@ Thank you for your interest in contributing to CodeRunner! We welcome contributi
2020
3. Update the config file with your local paths
2121
4. Follow the setup instructions in the README
2222

23+
## Build
24+
<details>
25+
<summary>Build Instructions</summary>
26+
27+
To start building the container, you might need to perform the following commands:
28+
29+
```bash
30+
# Stop any running container services
31+
sudo pkill -f container
32+
33+
# Start the container system
34+
container system start
35+
36+
# Remove existing buildkit if necessary
37+
container rm buildkit
38+
39+
# Build the container with the specified Dockerfile and tag
40+
container build --tag cr --file Dockerfile .
41+
42+
# Tag the newly built container
43+
container images tag cr instavm/coderunner
44+
45+
# Push the image to the registry
46+
container images push instavm/coderunner
47+
```
48+
49+
</details>
50+
2351
## Code Style
2452

2553
- Follow PEP 8 for Python code

0 commit comments

Comments
 (0)