diff --git a/web-src/.dockerignore b/web-src/.dockerignore deleted file mode 100644 index 0376edd..0000000 --- a/web-src/.dockerignore +++ /dev/null @@ -1,21 +0,0 @@ -node_modules -.DS_Store -dist -dist-ssr -*.local -.eslintcache -report.html - -yarn.lock -npm-debug.log* -.pnpm-error.log* -.pnpm-debug.log -tests/**/coverage/ - -# Editor directories and files -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -tsconfig.tsbuildinfo diff --git a/web-src/Dockerfile b/web-src/Dockerfile deleted file mode 100644 index 8e1f235..0000000 --- a/web-src/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -FROM node:18-alpine as build-stage - -WORKDIR /app -RUN corepack enable -RUN corepack prepare pnpm@8.6.10 --activate - -RUN npm config set registry https://registry.npmmirror.com - -COPY .npmrc package.json pnpm-lock.yaml ./ -RUN pnpm install --frozen-lockfile - -COPY . . -RUN pnpm build - -FROM nginx:stable-alpine as production-stage - -COPY --from=build-stage /app/dist /usr/share/nginx/html -EXPOSE 80 - -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file