Update container

This commit is contained in:
Andras Bacsai 2022-07-25 20:40:55 +00:00
parent d8b60a919b
commit 44052b57c5
4 changed files with 3 additions and 13 deletions

View File

@ -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",

View File

@ -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

View File

@ -1 +0,0 @@
docker buildx build --platform linux/amd64,linux/arm64 -t coollabsio/prisma-engine:3.15 -f prisma-engine.Dockerfile --push .

View File

@ -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/