diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index bd2400cc..4be2fa2e 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-slim AS base +FROM --platform=linux/amd64 node:20-slim AS base ARG DATABASE_URL ENV DATABASE_URL=$DATABASE_URL @@ -15,7 +15,7 @@ ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -ARG NODE_VERSION=18 +ARG NODE_VERSION=20 RUN apt update \ && apt install -y curl \ diff --git a/build_docker b/build_docker index c81b9ea4..7f5f03f9 100755 --- a/build_docker +++ b/build_docker @@ -4,6 +4,7 @@ docker build \ --build-arg DATABASE_URL="postgresql://local@host.docker.internal:5432/mixan?schema=public" \ --build-arg NEXTAUTH_SECRET="secret_sauce" \ --build-arg NEXTAUTH_URL="http://localhost:3000" \ + -t mixan/app:latest \ -t mixan/app:1.0 \ -f apps/web/Dockerfile \ . \ No newline at end of file