Skip to content

Commit 4907bf3

Browse files
committed
add build step
1 parent 80c48c8 commit 4907bf3

File tree

3 files changed

+4894
-3750
lines changed

3 files changed

+4894
-3750
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ WORKDIR /app
1515
COPY . .
1616
RUN npm install pnpm -g
1717
RUN pnpm install
18+
RUN pnpm run build
1819
RUN chmod +x appStartUp.sh
1920
CMD ./appStartUp.sh

appStartUp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ else
1313
fi
1414

1515
# Start the app
16-
pnpm start
16+
pnpm start:prod

0 commit comments

Comments
 (0)