Spaces:
Sleeping
Sleeping
build: fix docker
Browse files- 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
|