Skip to content

Commit

Permalink
api: fix docker build (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcposch authored May 22, 2024
1 parent f76231e commit a596c82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
.turbo
.next
.vscode
**/.env
**/node_modules
packages/contract
apps/daimo-web
5 changes: 4 additions & 1 deletion packages/daimo-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ FROM node:20
# Set the working directory inside the container
WORKDIR /usr/src/app

# Copy app code and dependencies
# Copy app code, except node_modules
COPY . .

# Install dependencies
RUN npm ci

# Build your application
RUN npm run build:api

Expand Down

0 comments on commit a596c82

Please sign in to comment.