From 895bc8ebe3c474007034acec3f70d7542b2c16bb Mon Sep 17 00:00:00 2001 From: hlafaille Date: Thu, 2 Jan 2025 13:04:39 -0500 Subject: [PATCH 1/2] BIL-6: oops --- .github/workflows/production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index e41f9a23..4bef0d17 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -178,5 +178,5 @@ jobs: bastion_ssh_host: ${{ secrets.BASTION_HOST }} deployment_private_key: ${{secrets.DEPLOYMENT_PRIVATE_KEY}} deployment_ssh_user: infra - deployment_server: mars1d + deployment_server: mars1 command: cd billtracker && docker compose pull frontend backend && docker compose up frontend backend -d \ No newline at end of file From 3775f3dd2663d0b7628e525c933a244b236901a4 Mon Sep 17 00:00:00 2001 From: hlafaille Date: Thu, 2 Jan 2025 13:54:43 -0500 Subject: [PATCH 2/2] BIL-6: changing from node to bun, because why not? --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index fb688cbe..5066b56c 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:lts +FROM oven/bun:latest # copy dist RUN mkdir /app @@ -8,4 +8,4 @@ COPY build /app COPY node_modules /app/node_modules WORKDIR /app -ENTRYPOINT [ "node", "index.js"] \ No newline at end of file +ENTRYPOINT [ "bun", "index.js"] \ No newline at end of file