Skip to content

Commit

Permalink
Merge pull request #142 from penumbra-zone/ci-fixes
Browse files Browse the repository at this point in the history
ci: unbreak containerfile build
  • Loading branch information
conorsch authored Jul 24, 2024
2 parents 565892c + 545c26a commit 0ad6bf4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 77 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
---
name: Build container image
on:
# By default, build on merge to main.
push:
branches:
- main

# Also support ad-hoc and per-repo calls to trigger builds.
workflow_call:
workflow_dispatch:
# Support triggering builds from penumbra-zone/penumbra CI.
repository_dispatch:
jobs:
cuiloa:
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/deploy.yml

This file was deleted.

9 changes: 5 additions & 4 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ COPY --chown=node:node . .
USER node

# Install project.
RUN pnpm config set @buf:registry https://buf.build/gen/npm/v1/
RUN pnpm install
RUN pnpm build
RUN npm config set @buf:registry https://buf.build/gen/npm/v1/
RUN npm install
# prod build not supported
# RUN npm build

# Run.
EXPOSE 3000
CMD [ "pnpm", "dev" ]
CMD [ "npm", "run", "dev" ]

0 comments on commit 0ad6bf4

Please sign in to comment.