From cb0ccb46bbae3721afde05ed106e0cf09604336e Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 20 Jun 2025 16:44:22 -0400 Subject: [PATCH] dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c8f9cc8..6f00798 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,10 +26,10 @@ RUN yarn typecheck FROM base AS runner # Files required by npm install -COPY package*.json ./ +COPY package.json yarn.lock ./ # Install only production app dependencies -RUN yarn install +RUN yarn install --frozen-lockfile # Bundle app source COPY . . @@ -38,4 +38,5 @@ USER node # Start the app EXPOSE 80 -CMD ["node", "--import", "tsx", "./src/main.ts"] \ No newline at end of file +CMD ["yarn", "start"] +# CMD ["node", "--import", "tsx", "./src/main.ts"] \ No newline at end of file