This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine AS BUILD_IMAGE | |
# couchbase sdk requirements | |
RUN apk update && apk add yarn curl bash python g++ make && rm -rf /var/cache/apk/* | |
# install node-prune (https://github.com/tj/node-prune) | |
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin | |
WORKDIR /usr/src/app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine AS BUILD_IMAGE | |
# couchbase sdk requirements | |
RUN apk update && apk add yarn curl bash python g++ make && rm -rf /var/cache/apk/* | |
# install node-prune (https://github.com/tj/node-prune) | |
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin | |
WORKDIR /usr/src/app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine AS BUILD_IMAGE | |
# couchbase sdk requirements | |
RUN apk update && apk add python make g++ && rm -rf /var/cache/apk/* | |
WORKDIR /usr/src/app | |
COPY package.json yarn.lock ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine AS BUILD_IMAGE | |
# couchbase sdk requirements | |
RUN apk update && apk add python make g++ && rm -rf /var/cache/apk/* | |
WORKDIR /usr/src/app | |
COPY package.json yarn.lock ./ | |
# install dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# couchbase sdk requirements | |
RUN apk update && apk add python make g++ && rm -rf /var/cache/apk/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12-alpine | |
WORKDIR /usr/src/app | |
COPY package.json yarn.lock ./ | |
# install dependencies | |
RUN yarn --frozen-lockfile | |
COPY . . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:12 | |
WORKDIR /usr/src/app | |
COPY package.json yarn.lock ./ | |
# install dependencies | |
RUN yarn --frozen-lockfile | |
COPY . . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
/** | |
* Hypertext Transfer Protocol (HTTP) response status codes. | |
* @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
*/ | |
enum HttpStatusCode { | |
/** | |
* The server has received the request headers and the client should proceed to send the request body |