Files
test-apiplatform/client/Dockerfile
Pitchaya Boonsarngsuk c3d3dcbff7 init
2019-07-05 16:54:32 +01:00

16 lines
286 B
Docker

FROM node:11.5-alpine
RUN mkdir -p /usr/src/client
WORKDIR /usr/src/client
RUN yarn global add @api-platform/client-generator
# Prevent the reinstallation of node modules at every changes in the source code
COPY package.json yarn.lock ./
RUN yarn install
COPY . ./
CMD yarn start