From e1a73ad5b8fe3b600a8e9c80ac8ec14d7ae8dba3 Mon Sep 17 00:00:00 2001 From: Mike Smith <89040888+smiggiddy@users.noreply.github.com> Date: Mon, 24 Mar 2025 04:20:07 -0400 Subject: [PATCH] dockerfile fix --- messages/Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/messages/Dockerfile b/messages/Dockerfile index d0631b9..1d35d27 100644 --- a/messages/Dockerfile +++ b/messages/Dockerfile @@ -14,15 +14,9 @@ FROM base AS prerelease COPY --from=install /temp/dev/node_modules node_modules COPY . . -# [optional] tests & build -ENV NODE_ENV=production -RUN bun test -RUN bun run build - # copy production dependencies and source code into final image FROM base AS release -COPY --from=install /temp/prod/node_modules node_modules -COPY --from=prerelease /usr/src/app/app.js . +COPY --from=prerelease /usr/src/app/public /usr/src/app/src . COPY --from=prerelease /usr/src/app/package.json . # run the app