build(Dockerfile): forgot to add npm i to Dockerfile
Some checks failed
/ build (push) Failing after 2m5s
/ deploy (push) Failing after 2s

This commit is contained in:
devaine 2026-05-10 19:00:58 -05:00
commit 772e364d44
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
2 changed files with 2 additions and 4 deletions

View file

@ -34,6 +34,7 @@ jobs:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
# https://forgejo.org/docs/next/user/actions/reference/#env-1
tags: ${{ vars.REGISTRY_DOMAIN }}/${{ env.FORGEJO_REPOSITORY }}:app tags: ${{ vars.REGISTRY_DOMAIN }}/${{ env.FORGEJO_REPOSITORY }}:app
file: Dockerfile file: Dockerfile

View file

@ -20,19 +20,16 @@ WORKDIR /app
# NOTE: Frontend setup # NOTE: Frontend setup
WORKDIR /app/frontend WORKDIR /app/frontend
RUN npm i
RUN npm run build RUN npm run build
# NOTE: Backend setup # NOTE: Backend setup
WORKDIR /app/api WORKDIR /app/api
RUN <<EOF RUN <<EOF
bash ./run.bash bash ./run.bash
EOF EOF
ENV PATH="/app/api/venv/bin:$PATH" ENV PATH="/app/api/venv/bin:$PATH"
#SHELL ["bash", "-c"]
WORKDIR /app WORKDIR /app
RUN "bash run.bash" RUN "bash run.bash"