docker changes
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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 \
|
||||
.
|
||||
Reference in New Issue
Block a user