Skip to content

Commit

Permalink
fix: scripts dir no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 26, 2023
1 parent 67c88af commit 44fb205
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY package.json ./
RUN pnpm install

# Setup production node_modules
FROM base as production-deps
FROM base AS production-deps

RUN mkdir /app
WORKDIR /app
Expand All @@ -30,7 +30,7 @@ COPY package.json ./
RUN pnpm prune --prod

# Build the app
FROM base as build
FROM base AS build

ENV NODE_ENV=production

Expand Down Expand Up @@ -59,7 +59,6 @@ COPY --from=production-deps /app/node_modules /app/node_modules

COPY --from=build /app/build /app/build
COPY --from=build /app/public /app/public
COPY --from=build /app/scripts /app/scripts

# Setup LiteFS
COPY --from=litefs /usr/local/bin/litefs /usr/local/bin/litefs
Expand Down

0 comments on commit 44fb205

Please sign in to comment.