diff --git a/Frontend/Dockerfile b/Frontend/Dockerfile index 32bc855..03940c8 100644 --- a/Frontend/Dockerfile +++ b/Frontend/Dockerfile @@ -1,11 +1,11 @@ -FROM fascinated/docker-images:nodejs_20_with_yarn AS base +FROM imbios/bun-node AS base # Install dependencies FROM base AS depends WORKDIR /usr/src/app -COPY package.json* yarn.lock* ./ -RUN yarn install --frozen-lockfile --quiet +COPY package.json* bun.lockb* ./ +RUN bun install --frozen-lockfile --quiet # Build the app @@ -14,7 +14,7 @@ WORKDIR /usr/src/app COPY --from=depends /usr/src/app/node_modules ./node_modules COPY . . ENV NEXT_TELEMETRY_DISABLED 1 -RUN yarn run build +RUN bun run build # Run the app @@ -43,4 +43,4 @@ EXPOSE 80 ENV PORT 80 USER nextjs -CMD ["yarn", "start"] \ No newline at end of file +CMD ["bun", "start"] \ No newline at end of file diff --git a/Frontend/docs/home.md b/Frontend/docs/home.md index 768b780..241363b 100644 --- a/Frontend/docs/home.md +++ b/Frontend/docs/home.md @@ -19,7 +19,4 @@ Some of the core features of RESTfulMC include: | [Player Lookup](/player) | praesent omittam mollis maximus has pretium mediocritatem eripuit | | [Server Lookup](/server) | sapien faucibus numquam ponderum utamur himenaeos menandri tation | -## Test -bla bla bla - --- \ No newline at end of file