[69507b]: / app / frontend / Dockerfile

Download this file

18 lines (12 with data), 311 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
FROM node:13.12.0-alpine
MAINTAINER Ayrton San Joaquin <ajsanjoaquin@gmail.com>
ENV PATH ./node_modules/.bin:$PATH
COPY package.json ./
COPY package-lock.json ./
# install app dependencies
RUN npm install --production --silent
COPY . ./
# start app
#CMD ["cd", "frontend"]
EXPOSE 5000
CMD ["npm", "start"]