build: update dockerfile
Some checks failed
TrafficCue Server CI / check (push) Successful in 30s
TrafficCue Server CI / build (push) Failing after 1m22s

This commit is contained in:
2025-09-05 17:49:32 +02:00
parent 408d715855
commit 978b39bb8f

View File

@ -11,7 +11,7 @@ RUN cd /temp/dev && bun install --frozen-lockfile
# install with --production (exclude devDependencies) # install with --production (exclude devDependencies)
RUN mkdir -p /temp/prod RUN mkdir -p /temp/prod
COPY package.json bun.lock /temp/prod/ COPY package.json bun.lock /temp/prod/
RUN cd /temp/prod && bun install --frozen-lockfile --production RUN cd /temp/prod && bun install --frozen-lockfile --production --backend=copyfile
# copy node_modules from temp directory # copy node_modules from temp directory
# then copy all (non-ignored) project files into the image # then copy all (non-ignored) project files into the image