Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ jobs:

- name: Build
run: pnpm build

docker-build:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4

- name: Build Docker image
run: docker build -t is-on-water:ci .
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ RUN pnpm build
FROM node:22-slim

ENV NODE_ENV=production
USER node

WORKDIR /usr/src/app

Expand All @@ -25,6 +24,10 @@ RUN corepack enable && pnpm install --prod --frozen-lockfile

COPY --from=builder /usr/src/app/dist ./dist

RUN chown -R node:node /usr/src/app

USER node

ENV PORT=3000
EXPOSE $PORT

Expand Down
Loading