diff --git a/Dockerfile b/Dockerfile index 1161e1b99..dc7a100f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,12 @@ RUN apk add --update --no-cache \ WORKDIR /app -COPY . . +COPY package*.json ./ RUN npm install + +COPY . . + RUN npm run build EXPOSE 3000 diff --git a/README.md b/README.md index 7a93027dc..a521254bd 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ This project is licensed under the [MIT License](https://opensource.org/licenses

``` -[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-success?logo=Postwoman)](https://postwoman.io) +[![Postwoman](https://img.shields.io/badge/Tested_on-Postwoman-critical?logo=Postwoman)](https://postwoman.io) ```

diff --git a/docker-compose.yml b/docker-compose.yml index 7a86bf734..541ed08d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: - "./plugins:/app/plugins" - "./static:/app/static" - "./store:/app/store" + - "./components:/app/components" ports: - "3000:3000" command: "npm run dev"