You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
487 B

FROM node:20
WORKDIR /app/
COPY ./sherlock-web/frontend/package.json ./sherlock-web/frontend/package-lock.json ./
RUN npm i
COPY ./sherlock-web/frontend/tsconfig.json ./tsconfig.json
COPY ./sherlock-web/frontend/next-env.d.ts ./next-env.d.ts
COPY ./sherlock-web/frontend/next.config.mjs ./src/next.config.mjs
COPY ./sherlock-web/frontend/app/ ./app/
COPY ./sherlock-web/frontend/public/ ./public/
COPY ./sherlock/resources/data.json ./data.json
RUN npm run build
CMD npm run start