Dockerfile yarn -> bun
Some checks failed
Deploy Frontend / docker (17, 3.8.5) (push) Failing after 50s
Some checks failed
Deploy Frontend / docker (17, 3.8.5) (push) Failing after 50s
This commit is contained in:
parent
42f9e7090f
commit
a31dcc7618
@ -1,11 +1,11 @@
|
|||||||
FROM fascinated/docker-images:nodejs_20_with_yarn AS base
|
FROM imbios/bun-node AS base
|
||||||
|
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
FROM base AS depends
|
FROM base AS depends
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY package.json* yarn.lock* ./
|
COPY package.json* bun.lockb* ./
|
||||||
RUN yarn install --frozen-lockfile --quiet
|
RUN bun install --frozen-lockfile --quiet
|
||||||
|
|
||||||
|
|
||||||
# Build the app
|
# Build the app
|
||||||
@ -14,7 +14,7 @@ WORKDIR /usr/src/app
|
|||||||
COPY --from=depends /usr/src/app/node_modules ./node_modules
|
COPY --from=depends /usr/src/app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
RUN yarn run build
|
RUN bun run build
|
||||||
|
|
||||||
|
|
||||||
# Run the app
|
# Run the app
|
||||||
@ -43,4 +43,4 @@ EXPOSE 80
|
|||||||
ENV PORT 80
|
ENV PORT 80
|
||||||
|
|
||||||
USER nextjs
|
USER nextjs
|
||||||
CMD ["yarn", "start"]
|
CMD ["bun", "start"]
|
@ -19,7 +19,4 @@ Some of the core features of RESTfulMC include:
|
|||||||
| [Player Lookup](/player) | praesent omittam mollis maximus has pretium mediocritatem eripuit |
|
| [Player Lookup](/player) | praesent omittam mollis maximus has pretium mediocritatem eripuit |
|
||||||
| [Server Lookup](/server) | sapien faucibus numquam ponderum utamur himenaeos menandri tation |
|
| [Server Lookup](/server) | sapien faucibus numquam ponderum utamur himenaeos menandri tation |
|
||||||
|
|
||||||
## Test
|
|
||||||
bla bla bla
|
|
||||||
|
|
||||||
---
|
---
|
Loading…
Reference in New Issue
Block a user