diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 90b882e41..bd98d3f2a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,6 +15,7 @@ "settings": {}, // Add the IDs of extensions you want installed when the container is created. "extensions": [ + "ms-azuretools.vscode-docker", "dbaeumer.vscode-eslint", "svelte.svelte-vscode", "ardenivanov.svelte-intellisense", diff --git a/Dockerfile b/Dockerfile index 1a2ced973..494082c2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as build +FROM node:18-alpine3.16 as build WORKDIR /app RUN apk add --no-cache curl @@ -9,7 +9,7 @@ RUN pnpm install RUN pnpm build # Production build -FROM node:18-alpine +FROM node:18-alpine3.16 WORKDIR /app ENV NODE_ENV production ARG TARGETPLATFORM diff --git a/others/prisma/build-prisma-engine.sh b/others/prisma/build-prisma-engine.sh deleted file mode 100644 index 896dee1e8..000000000 --- a/others/prisma/build-prisma-engine.sh +++ /dev/null @@ -1 +0,0 @@ -docker buildx build --platform linux/amd64,linux/arm64 -t coollabsio/prisma-engine:3.15 -f prisma-engine.Dockerfile --push . \ No newline at end of file diff --git a/others/prisma/prisma-engine.Dockerfile b/others/prisma/prisma-engine.Dockerfile deleted file mode 100644 index 1c6b1bb06..000000000 --- a/others/prisma/prisma-engine.Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM rust:1.61-alpine3.16 as prisma -WORKDIR /prisma -ENV RUSTFLAGS="-C target-feature=-crt-static" -RUN apk --no-cache add openssl direnv git musl-dev openssl-dev build-base perl protoc -RUN git clone --depth=1 --branch=3.15.x https://github.com/prisma/prisma-engines.git /prisma -RUN cargo build --release - -FROM alpine -WORKDIR /prisma-engines -COPY --from=prisma /prisma/target/release/query-engine /prisma/target/release/migration-engine /prisma/target/release/introspection-engine /prisma/target/release/prisma-fmt /prisma-engines/