Skip to content

Commit

Permalink
chore: Update test snapshot (zeabur#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan93412 committed Jul 27, 2023
1 parent 5f96a7e commit 21f6f07
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions internal/nodejs/__snapshots__/template_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ ENV PORT=8080
WORKDIR /src

RUN corepack enable && corepack prepare --all
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* .npmrc* ./
COPY . .

RUN yarn install

COPY . .

# Build if we can build it


Expand All @@ -29,12 +27,10 @@ ENV PORT=8080
WORKDIR /src

RUN corepack enable && corepack prepare --all
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* .npmrc* ./
COPY . .

RUN yarn install

COPY . .

# Build if we can build it


Expand All @@ -46,6 +42,7 @@ RUN echo "\
server { \
listen 8080; \
root /usr/share/nginx/html/static; \
absolute_redirect off; \
location / { \
try_files \$uri \$uri.html \$uri/index.html /404.html =404; \
} \
Expand All @@ -62,12 +59,10 @@ ENV PORT=8080
WORKDIR /src

RUN corepack enable && corepack prepare --all
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* .npmrc* ./
COPY . .

RUN yarn install

COPY . .

# Build if we can build it


Expand All @@ -79,6 +74,7 @@ RUN echo "\
server { \
listen 8080; \
root /usr/share/nginx/html/static; \
absolute_redirect off; \
location / { \
try_files \$uri /index.html; \
} \
Expand All @@ -95,12 +91,10 @@ ENV PORT=8080
WORKDIR /src

RUN corepack enable && corepack prepare --all
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* .npmrc* ./
COPY . .

RUN yarn install

COPY . .

# Build if we can build it
RUN yarn build

Expand All @@ -118,12 +112,10 @@ ENV PORT=8080
WORKDIR /src

RUN corepack enable && corepack prepare --all
COPY package.json package-lock.json* yarn.lock* pnpm-lock.yaml* .npmrc* ./
COPY . .

RUN yarn install

COPY . .

# Build if we can build it
RUN yarn build

Expand All @@ -135,6 +127,7 @@ RUN echo "\
server { \
listen 8080; \
root /usr/share/nginx/html/static; \
absolute_redirect off; \
location / { \
try_files \$uri /index.html; \
} \
Expand Down

0 comments on commit 21f6f07

Please sign in to comment.