Skip to content

Commit

Permalink
🐛 env
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay committed Sep 30, 2024
1 parent e829fa0 commit 03b7475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ RUN \
# build
FROM oven/bun@sha256:eb409bed239c3adff079a6b71283f151e802d66b99f643ba7a71e1be7d3da513 AS build
WORKDIR /app/apps/server
ENV NODE_ENV production
COPY \
--link \
"." "/app/"
Expand Down
3 changes: 2 additions & 1 deletion apps/server/dofigen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ builders:
build:
fromImage: oven/bun
workdir: /app/apps/server
copy:
copy:
- . /app/
- fromBuilder: install
source: /app/node_modules
target: /app/node_modules
# Should set env to production here
# Compile the TypeScript application
run: bun build --compile --sourcemap src/index.ts --outfile=app
fromImage: debian:bullseye-slim
Expand Down

0 comments on commit 03b7475

Please sign in to comment.