build(Dockerfile): forgot to add npm i to Dockerfile
This commit is contained in:
parent
bb49d834b3
commit
772e364d44
2 changed files with 2 additions and 4 deletions
|
|
@ -20,19 +20,16 @@ WORKDIR /app
|
|||
|
||||
# NOTE: Frontend setup
|
||||
WORKDIR /app/frontend
|
||||
RUN npm i
|
||||
RUN npm run build
|
||||
|
||||
# NOTE: Backend setup
|
||||
WORKDIR /app/api
|
||||
|
||||
RUN <<EOF
|
||||
bash ./run.bash
|
||||
EOF
|
||||
|
||||
ENV PATH="/app/api/venv/bin:$PATH"
|
||||
|
||||
#SHELL ["bash", "-c"]
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN "bash run.bash"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue