aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2023-08-20 12:03:27 +0100
committerLeonardo Bishop <me@leonardobishop.com>2023-08-20 12:03:27 +0100
commit91f013ba3414d530b01fbd5587080c81e4c9a393 (patch)
tree2b6ad33ec802fd27abf27941dfc389e2ce697680
parentbd1dfe5fd9544fd39cf33631775bc6329e7327aa (diff)
Fix wrong typescript build path
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index bc8eee8..f19c7f3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,10 +25,10 @@ COPY --chown=node:node package*.json ./
RUN npm i --production
-COPY --chown=node:node --from=build /app/dist build
+COPY --chown=node:node --from=build /app/dist dist
EXPOSE 3000
USER node
-CMD [ "node", "build/index.js" ]
+CMD [ "node", "dist/index.js" ]