Skip to content

Commit f861003

Browse files
authored
Try re-ordering the Dockerfile incase fly is taking the last image (#159)
1 parent 8040b7a commit f861003

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ FROM dev AS prod-build
4141
COPY ./src src/
4242
RUN npx tsc
4343

44+
FROM bun AS dev_container
45+
RUN apt-get update \
46+
&& apt-get install -y git make
47+
4448
FROM node AS prod
4549
COPY --from=prod-deps /app/node_modules node_modules/
4650
COPY --from=prod-build /app/build/ build/
4751
COPY ./src/static build/src/static/
4852
COPY ./src/instrument.mjs ./
4953
COPY ./fly-run.sh ./
5054
CMD ["/bin/bash", "fly-run.sh"]
51-
52-
FROM bun AS dev_container
53-
RUN apt-get update \
54-
&& apt-get install -y git make

0 commit comments

Comments
 (0)