Skip to content

Commit

Permalink
fix web build
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Apr 30, 2024
1 parent 1b803e8 commit e49d939
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM node:20

RUN apt-get update && apt-get install -y protobuf-compiler

COPY types /types

WORKDIR /web

COPY web/package*.json ./
Expand All @@ -12,6 +14,8 @@ COPY web/. .

RUN npm run build

COPY proto /proto

WORKDIR /backend

COPY backend/package*.json ./
Expand All @@ -20,9 +24,6 @@ RUN npm install

COPY backend/. .

COPY proto /proto
COPY types /types

RUN npm run proto:generate

RUN npm run build
Expand Down

0 comments on commit e49d939

Please sign in to comment.