Collection of handy online tools for developers, with great UX.
TypeScript converterdeveloper-productivitydeveloper-toolsfrontendjavascriptproductivitytooltoolstypescriptvuejswebsite
refactor(docker): improved docker config (#700)
Corentin THOMASSET020e9cbe41dc
diff --git a/.dockerignore b/.dockerignorenew file mode 100644index 00000000..563ecab3--- /dev/null+++ b/.dockerignore@@ -0,0 +1,5 @@+node_modules+playwright-report+coverage+dist+test-resultsdiff --git a/Dockerfile b/Dockerfileindex f67fa940..d3d61311 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,13 +1,16 @@# build stageFROM node:lts-alpine AS build-stage+# Set environment variables for non-interactive npm installs+ENV NPM_CONFIG_LOGLEVEL warn+ENV CI trueWORKDIR /app+COPY package.json pnpm-lock.yaml ./+RUN npm install -g pnpm && pnpm i --frozen-lockfileCOPY . .-RUN npm install -g pnpm-RUN pnpm i --frozen-lockfileRUN pnpm build# production stage-FROM nginx:stable-alpine AS production-stage+FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stageCOPY --from=build-stage /app/dist /usr/share/nginx/htmlCOPY nginx.conf /etc/nginx/conf.d/default.confEXPOSE 80