orm (WIP)
This commit is contained in:
@@ -46,11 +46,16 @@ RUN echo "set -g theme_nerd_fonts yes" >> ~/.config/fish/config.fish \
|
||||
|
||||
# Installiere Deno
|
||||
ENV DENO_INSTALL=/deno
|
||||
RUN mkdir -p /deno \
|
||||
RUN mkdir -p ${DENO_INSTALL} \
|
||||
&& curl -fsSL https://deno.land/x/install/install.sh | sh \
|
||||
&& chown -R vscode /deno
|
||||
|
||||
ENV PATH=${DENO_INSTALL}/bin:/usr/local/go/bin:${PATH} \
|
||||
# Installiere Bun
|
||||
ENV BUN_INSTALL=/bun
|
||||
RUN mkdir -p ${BUN_INSTALL} \
|
||||
&& curl -fsSL https://bun.sh/install | bash
|
||||
|
||||
ENV PATH=${BUN_INSTALL}/bin:${DENO_INSTALL}/bin:/usr/local/go/bin:${PATH} \
|
||||
DENO_DIR=${DENO_INSTALL}/.cache/deno
|
||||
|
||||
RUN groupadd -r docker && usermod -aG docker $USERNAME
|
||||
@@ -58,7 +63,7 @@ RUN groupadd -r docker && usermod -aG docker $USERNAME
|
||||
WORKDIR /workspace
|
||||
|
||||
# Zusätzliche Pakete installieren
|
||||
RUN apt-get update && apt-get install -y protobuf-compiler
|
||||
RUN apt-get update && apt-get install -y protobuf-compiler netcat
|
||||
|
||||
# Ports für React und Dart Services
|
||||
EXPOSE 3000 8080 4000
|
||||
|
||||
@@ -22,16 +22,17 @@
|
||||
],
|
||||
"features": {
|
||||
//"docker-in-docker": "latest",
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
//"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
},
|
||||
"runArgs": ["--add-host=host.docker.internal:host-gateway"],
|
||||
//"runArgs": ["--add-host=host.docker.internal:host-gateway"],
|
||||
"postCreateCommand": "./.devcontainer/setup.sh",
|
||||
"remoteUser": "vscode",
|
||||
"updateRemoteUserUID": true,
|
||||
//"workspaceMount": "",
|
||||
//"workspaceFolder": "/workspaces",
|
||||
"mounts": [
|
||||
"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock",
|
||||
//"type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock",
|
||||
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh-host,type=bind,consistency=cached"
|
||||
//"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached"
|
||||
]
|
||||
|
||||
@@ -18,6 +18,7 @@ if [ -d "backend-dart" ]; then
|
||||
(
|
||||
cd backend-dart
|
||||
dart pub get
|
||||
bun install
|
||||
) &
|
||||
else
|
||||
echo "backend-dart directory not found, skipping..."
|
||||
|
||||
Reference in New Issue
Block a user