Compare commits

...

2 Commits

Author SHA1 Message Date
sriram veeraghanta
621fcfc041 removing trubo 2023-04-21 19:37:13 -04:00
sriram veeraghanta
1538b99a28 removing trubo 2023-04-21 19:30:36 -04:00
559 changed files with 8129 additions and 289 deletions

View File

@ -1,10 +1,8 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-custom`
extends: ["custom"],
settings: {
next: {
rootDir: ["apps/*"],
rootDir: ["app/"],
},
},
};

View File

@ -1,12 +1,7 @@
module.exports = {
extends: ["next", "turbo", "prettier"],
extends: ["next", "prettier"],
parser: "@typescript-eslint/parser",
plugins: ["react", "@typescript-eslint"],
settings: {
next: {
rootDir: ["app/", "docs/", "packages/*/"],
},
},
rules: {
"@next/next/no-html-link-for-pages": "off",
"react/jsx-key": "off",

View File

@ -4,9 +4,10 @@ RUN apk update
# Set working directory
WORKDIR /app
COPY . .
RUN yarn global add turbo
RUN yarn install
EXPOSE 3000
CMD ["yarn","dev"]

30
app/Dockerfile.web Normal file
View File

@ -0,0 +1,30 @@
FROM node:18-alpine AS builder
RUN apk add --no-cache libc6-compat
RUN apk update
# Set working directory
WORKDIR /app
# Install dependencies
RUN yarn install --frozen-lockfile
COPY . .
# build
RUN yarn build
FROM node:18-alpine AS runner
WORKDIR /app
# Don't run production as root
RUN addgroup --system --gid 1001 plane
RUN adduser --system --uid 1001 captain
USER captain
COPY --from=builder /app/next.config.js .
COPY --from=builder /app/package.json .
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public
ENV NEXT_TELEMETRY_DISABLED 1
EXPOSE 3000

Some files were not shown because too many files have changed in this diff Show More