lwdgit commited on
Commit
623273c
·
1 Parent(s): 238e8c1

build: fix docker

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ WORKDIR $HOME/app
21
  # where available (npm@5+)
22
  COPY --chown=user package*.json $HOME/app
23
 
24
- RUN npm install
25
 
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
  COPY --chown=user . $HOME/app
 
21
  # where available (npm@5+)
22
  COPY --chown=user package*.json $HOME/app
23
 
24
+ RUN npm install && npm run build
25
 
26
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
27
  COPY --chown=user . $HOME/app