mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
🐋 Remove env variable from Dockerfile
This commit is contained in:
@@ -15,7 +15,6 @@ RUN pnpm install --frozen-lockfile
|
|||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV PUBLIC_SVGL_VERSION=beta
|
|
||||||
RUN pnpm run check:size
|
RUN pnpm run check:size
|
||||||
RUN pnpm run build:prod
|
RUN pnpm run build:prod
|
||||||
|
|
||||||
@@ -30,7 +29,6 @@ COPY package.json ./
|
|||||||
|
|
||||||
# Set production environment
|
# Set production environment
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PUBLIC_SVGL_VERSION=beta
|
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user