diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8fac02f..b37a79f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,4 +4,15 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:${VARIANT} # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # && apt-get -y install --no-install-recommends +WORKDIR "/" + +# Install fly +RUN curl -L https://fly.io/install.sh | sh + +ENV FLYCTL_INSTALL="/root/.fly" +ENV PATH="$FLYCTL_INSTALL/bin:$PATH" + +# RUN echo 'export FLYCTL_INSTALL="/home/node/.fly"' >> ~/.bashrc +# RUN echo 'export PATH="$FLYCTL_INSTALL/bin:$PATH"' >> ~/.bashrc + RUN npm install -g bun \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7af2a31..1e3b6de 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,6 +4,7 @@ "service": "app", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "postCreateCommand": "cd web && bun install && bun run migrate-local", + "remoteUser": "root", "customizations": { "vscode": { "extensions": [ @@ -13,7 +14,8 @@ "stivo.tailwind-fold", "streetsidesoftware.code-spell-checker", "GitHub.copilot", + "ms-azuretools.vscode-docker" ] } } -} +} \ No newline at end of file