From d8e312de06d7b2f5f91ffafea3a94b62539a3b36 Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Sun, 2 Mar 2025 23:04:26 -0600 Subject: [PATCH] Remove unnecessary steps --- Dockerfile.local | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Dockerfile.local b/Dockerfile.local index 2cc3b08..b25b0e0 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -12,11 +12,6 @@ RUN mkdir -p /temp/dev COPY package.json /temp/dev/ RUN cd /temp/dev && bun install -RUN mkdir -p /temp/prod -COPY package.json /temp/prod/ -RUN cp /temp/dev/bun.lock /temp/prod/ -RUN cd /temp/prod && bun install --frozen-lockfile --production - # Copy node_modules from temp directory. # Then copy all (non-ignored) project files into the image. FROM base AS prerelease @@ -32,8 +27,6 @@ RUN bun --bun run build FROM base AS release ENV HOST=0.0.0.0 ENV ORIGIN=http://localhost:3040 - -COPY --from=install /temp/prod/node_modules node_modules COPY --from=prerelease /usr/src/app/build . # Run the app.