mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
fix dockerfile
This commit is contained in:
@ -30,8 +30,11 @@ COPY --chown=node:node --from=build /app/.npmrc /app/package.json /app/pnpm-lock
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
|
||||
|
||||
COPY --chown=node:node --from=build /app/dist ./dist
|
||||
|
||||
COPY --chown=node:node --from=build /app/tools/prisma ./tools/prisma
|
||||
RUN pnpm run prisma:generate
|
||||
|
||||
COPY --chown=node:node --from=build /app/lingui.config.ts ./lingui.config.ts
|
||||
RUN pnpm run messages:compile
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
{
|
||||
"format": "po",
|
||||
"sourceLocale": "en-US",
|
||||
"compileNamespace": "es",
|
||||
"fallbackLocales": {
|
||||
"default": "en-US"
|
||||
import type { LinguiConfig } from "@lingui/conf";
|
||||
|
||||
const config: LinguiConfig = {
|
||||
format: "po",
|
||||
sourceLocale: "en-US",
|
||||
compileNamespace: "es",
|
||||
fallbackLocales: {
|
||||
default: "en-US",
|
||||
},
|
||||
"locales": [
|
||||
locales: [
|
||||
"af-ZA",
|
||||
"am-ET",
|
||||
"ar-SA",
|
||||
@ -51,14 +53,14 @@
|
||||
"uk-UA",
|
||||
"vi-VN",
|
||||
"zh-CN",
|
||||
"zh-TW"
|
||||
"zh-TW",
|
||||
],
|
||||
"catalogs": [
|
||||
catalogs: [
|
||||
{
|
||||
"include": [
|
||||
"<rootDir>/apps/client/src"
|
||||
],
|
||||
"path": "<rootDir>/apps/client/src/locales/{locale}/messages"
|
||||
}
|
||||
]
|
||||
}
|
||||
include: ["<rootDir>/apps/client/src"],
|
||||
path: "<rootDir>/apps/client/src/locales/{locale}/messages",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user