This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
|
FROM node:16.13.0-alpine3.12
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
ARG NODE_ENV
|
|
ENV NODE_ENV $NODE_ENV
|
|
|
|
COPY package*.json /usr/src/app/
|
|
RUN npm install
|
|
|
|
COPY . /usr/src/app
|
|
|
|
ENV PORT 5000
|
|
EXPOSE $PORT
|
|
CMD [ "npm", "start" ]
|