Files
hoppscotch/Dockerfile
Colin Nelson 2dd9683eb1 feat: use alpine for Dockerfile
Reduces resultant image size to ~942MB (was 1.55GB).
2019-11-19 10:54:16 -08:00

19 lines
301 B
Docker

FROM node:12.10.0-alpine
LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"
# Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \
git
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]