Skip to content

Commit

Permalink
Update Dockerfile for tenscan FE
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Oct 4, 2024
1 parent 1a4b6c2 commit 5037652
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tools/tenscan/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
FROM node:18-buster as runner
# Install pnpm

RUN npm install -g pnpm
# setup container data structure
RUN mkdir -p /home/obscuro/go-obscuro/tools/tenscan/
COPY ./tools/tenscan/frontend /home/obscuro/go-obscuro/tools/tenscan/frontend

WORKDIR /home/obscuro/go-obscuro/tools/tenscan/frontend
COPY . /home/obscuro/go-obscuro/

WORKDIR /home/obscuro/go-obscuro/

RUN pnpm install

EXPOSE 80
WORKDIR /home/obscuro/go-obscuro/tools/tenscan/frontend

RUN pnpm install --filter ./tools/tenscan/frontend...

EXPOSE 80

CMD ["pnpm", "run", "start"]

0 comments on commit 5037652

Please sign in to comment.