Skip to content

Commit 5437a91

Browse files
committed
update README.md & Dockerfile, null CMD and correct default entrypoint (no compilers), add reference to production example
1 parent c84f84a commit 5437a91

File tree

3 files changed

+66
-5
lines changed

3 files changed

+66
-5
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,7 @@ EXPOSE 10240
109109
COPY unpack.bat .
110110
WORKDIR C:\Compiler-Explorer
111111

112-
ENTRYPOINT ["cmd.exe", "/S", "/K"]
113-
CMD ["C:/unpack.bat"]
112+
ENTRYPOINT [ `
113+
"C:\\unpack.bat", "&&", `
114+
"node", "--no-warnings", "--no-deprecation", "--import=tsx", "./app.js" `
115+
]

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1-
# Compiler-Explorer-Docker
2-
3-
Host your own Compiler Explorer instance in docker container!
1+
<div align="center">
2+
<img alt="Click to see the source" height="200" src="nabla-glow.svg" width="200" />
3+
</div>
4+
5+
<div align="center">
6+
<h3>Host your own Compiler Explorer instance in docker container!</h3>
7+
</div>
8+
9+
<p align="center">
10+
<a href="https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-Docker/actions/workflows/main.yml">
11+
<img src="https://github.com/Devsh-Graphics-Programming/Compiler-Explorer-Docker/actions/workflows/main.yml/badge.svg" alt="Build Status" /></a>
12+
<a href="https://opensource.org/licenses/Apache-2.0">
13+
<img src="https://img.shields.io/badge/license-Apache%202.0-blue" alt="License: Apache 2.0" /></a>
14+
<a href="https://discord.gg/krsBcABm7u">
15+
<img src="https://img.shields.io/discord/308323056592486420?label=discord&logo=discord&logoColor=white&color=7289DA" alt="Join our Discord" /></a>
16+
</p>
417

518
## Requirements
619

@@ -48,3 +61,7 @@ and open your browser with **http://localhost**.
4861

4962
> [!IMPORTANT]
5063
> You should use produced image as base to provide your own compilers (installation binaries) & configuration files for CE to use them. By default we run it without any compilers.
64+
65+
### Production example
66+
67+
We use this image as base for Nabla Shader Compiler we host on https://godbolt.devsh.eu, it gets created by building [CMake](<https://github.com/Devsh-Graphics-Programming/Nabla/blob/master/tools/nsc/CMakeLists.txt>) target which is part of Nabla build system, for more details checkout its [readme](https://github.com/Devsh-Graphics-Programming/Nabla/tree/master/tools/nsc/docker)

nabla-glow.svg

Lines changed: 42 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)