ci: moved docker from bun to yarn
Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
1 parent
4dba2c906e
commit
bbfe82f9d2
4 files changed
+4293
-6
No files matched your search
@@ -8,7 +8,7 @@ name: Docker Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- feat-docker
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
|
||||
+5
-5
@@ -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"]
|
||||
Reference in new issue
Block a user