Update container
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
"settings": {},
|
"settings": {},
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
"ms-azuretools.vscode-docker",
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"svelte.svelte-vscode",
|
"svelte.svelte-vscode",
|
||||||
"ardenivanov.svelte-intellisense",
|
"ardenivanov.svelte-intellisense",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM node:18-alpine as build
|
FROM node:18-alpine3.16 as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache curl
|
RUN apk add --no-cache curl
|
||||||
@@ -9,7 +9,7 @@ RUN pnpm install
|
|||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
# Production build
|
# Production build
|
||||||
FROM node:18-alpine
|
FROM node:18-alpine3.16
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
docker buildx build --platform linux/amd64,linux/arm64 -t coollabsio/prisma-engine:3.15 -f prisma-engine.Dockerfile --push .
|
|
||||||
@@ -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/
|
|
||||||
Reference in New Issue
Block a user