api-client/Dockerfile

19 lines
301 B
Docker
Raw Normal View History

FROM node:12.10.0-alpine
2019-09-25 00:52:25 +00:00
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
2019-09-25 00:52:25 +00:00
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]