Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

feat: use alpine for Dockerfile

Colin Nelson2dd9683eb1f8
diff --git a/Dockerfile b/Dockerfile
index 7780085b9..1161e1b99 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,11 @@
-FROM node:12.10.0-buster
+FROM node:12.10.0-alpine
LABEL maintainer="Liyas Thomas ([email protected])"
+# Add git as the prebuild target requires it to parse version information
+RUN apk add --update --no-cache \
+ git
+
WORKDIR /app
COPY . .