21 lines
341 B
Docker
21 lines
341 B
Docker
FROM node:14
|
|
|
|
WORKDIR /app/cdn-app-insider
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . .
|
|
|
|
RUN [ ! -f cdn-files ] && touch cdn-files || true
|
|
|
|
RUN [ ! -f report ] && touch report || true
|
|
|
|
RUN [ ! -f setup.json ] && echo '{}' > setup.json || true
|
|
|
|
RUN [ ! -f user.json ] && echo '{}' > user.json || true
|
|
|
|
EXPOSE 5053
|
|
|
|
CMD [ "npm", "start" ] |