ci: moved docker from bun to yarn

Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
Varun Raj committed 2024-08-20 09:15:10 +05:30
1 parent 4dba2c906e
commit bbfe82f9d2
4 files changed
+4293 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ name: Docker Release
on:
push:
branches:
- main
- feat-docker
tags:
- "v*"
+5 -5
View File
@@ -1,20 +1,20 @@
# docker/dev.Dockerfile
FROM oven/bun:latest
FROM node:latest
WORKDIR /app/next-app
COPY package.json ./
COPY bun.lockb ./
COPY yarn.lock ./
RUN bun install
RUN yarn install
COPY . .
ENV NEXT_TELEMETRY_DISABLED=1
RUN bun next build
RUN yarn build
EXPOSE 3000
# Set the command to run the application
CMD ["bun", "run", "start", "-p", "3000", "-H", "0.0.0.0"]
CMD ["yarn", "start", "-p", "3000", "-H", "0.0.0.0"]
BIN
View File
Binary file not shown.
+4287
View File
File diff suppressed because it is too large. Load diff