Skip to content

Commit

Permalink
feat: separate client server dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
erics118 committed May 16, 2024
1 parent 4df4799 commit 5c7b247
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
File renamed without changes.
13 changes: 13 additions & 0 deletions Dockerfile.server
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:20

WORKDIR /app

COPY client/package*.json ./

RUN npm ci

COPY client/ .

RUN npm run build

CMD [ "npm", "run", "start" ]

0 comments on commit 5c7b247

Please sign in to comment.