Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Separate dockerfile layers and add volume
Vítor Xoteslemff006a254abb
diff --git a/Dockerfile b/Dockerfileindex 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 buildEXPOSE 3000diff --git a/docker-compose.yml b/docker-compose.ymlindex 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"