project: remove .env

This commit is contained in:
vchikalkin 2023-12-23 18:03:08 +03:00
parent 0f82f208d9
commit 0a5be044b1
2 changed files with 2 additions and 6 deletions

3
.env
View File

@ -1,3 +0,0 @@
NEXT_PUBLIC_USE_DEV_COLORS=
URL_IUS_DIRECT=

View File

@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat
RUN apk update RUN apk update
# Set working directory # Set working directory
WORKDIR /app WORKDIR /app
RUN pnpm add -g turbo dotenv-cli RUN pnpm add -g turbo
COPY . . COPY . .
RUN turbo prune --scope=web --docker RUN turbo prune --scope=web --docker
@ -28,8 +28,7 @@ RUN pnpm install
# Build the project # Build the project
COPY --from=builder /app/out/full/ . COPY --from=builder /app/out/full/ .
COPY turbo.json turbo.json COPY turbo.json turbo.json
COPY .env .env RUN pnpm turbo run build --filter=web...
RUN pnpm dotenv -e .env turbo run build --filter=web...
FROM node:alpine AS runner FROM node:alpine AS runner
WORKDIR /app WORKDIR /app