diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index d401cbb..e262982 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/package.json b/package.json index 9351ce1..837b0e9 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "type": "module", "packageManager": "yarn@4.1.1", "scripts": { - "dev": "nodemon ./index.js", - "start": "node ./index.js", - "prod": "cross-env NODE_ENV=production node ./index.js" + "dev": "nodemon ./source/index.js", + "start": "node ./source/index.js", + "prod": "cross-env NODE_ENV=production node ./source/index.js" }, "repository": { "type": "git", diff --git a/source/routes/stackExchange.route.js b/source/routes/stackExchange.route.js index 2ebcda7..7fa5eff 100644 --- a/source/routes/stackExchange.route.js +++ b/source/routes/stackExchange.route.js @@ -53,7 +53,7 @@ router.get('/', async (req, res) => { missingInfo = [ 'seSite is required!', 'Example:', - '&seSite=stackoverflow', + '&seSite=stackoverflow', ] return res.send( SVG( diff --git a/stack-readme-dev.dockerfile b/stack-readme-dev.dockerfile index 165e76b..93840e2 100644 --- a/stack-readme-dev.dockerfile +++ b/stack-readme-dev.dockerfile @@ -1,8 +1,9 @@ FROM node:lts-bookworm-slim WORKDIR /base ARG api_key -COPY ./routes/ /base/routes/ -COPY ./index.js /base/ +COPY ./source/ /base/source/ +COPY ./.pnp.cjs /base/ +COPY ./.pnp.loader.mjs /base/ COPY ./.gitignore /base/ COPY ./.prettierrc /base/ COPY ./package.json /base/ diff --git a/stack-readme-prd.dockerfile b/stack-readme-prd.dockerfile index 26ee525..86095dc 100644 --- a/stack-readme-prd.dockerfile +++ b/stack-readme-prd.dockerfile @@ -1,8 +1,9 @@ FROM node:lts-bookworm-slim WORKDIR /base ARG api_key -COPY ./routes/ /base/routes/ -COPY ./index.js /base/ +COPY ./source/ /base/source/ +COPY ./.pnp.cjs /base/ +COPY ./.pnp.loader.mjs /base/ COPY ./.gitignore /base/ COPY ./.prettierrc /base/ COPY ./package.json /base/