Skip to content

Commit 138d4ed

Browse files
committed
update target image name, add SHELL, ENTRYPOINT and CMD to the Dockerfile
1 parent fb7eebd commit 138d4ed

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,8 @@ RUN `
8787
`
8888
reg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v "LongPathsEnabled" /t REG_DWORD /d 1 /f
8989

90-
COPY ce_healthy_check.py /ce_healthy_check.py
90+
COPY ce_healthy_check.py /ce_healthy_check.py
91+
92+
SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command"]
93+
ENTRYPOINT ["powershell.exe", "-ExecutionPolicy", "Bypass"]
94+
CMD ["-NoExit"]

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
build:
44
context: ./
55
dockerfile: Dockerfile
6-
image: dcr.devsh.eu/compiler-explorer:latest
6+
image: dr.devsh.eu/compiler-explorer/windows:latest
77
container_name: dev.ce.base
88
entrypoint: ["cmd", "/c", "npm --prefix %GIT_GODBOLT_REPOSITORY_PATH% run dev"]
99
networks:

0 commit comments

Comments
 (0)