Files
CDN-APP-INSIDER/Dockerfile
2024-03-27 20:06:02 +01:00

23 lines
370 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
VOLUME /app/cdn-app-insider
CMD [ "npm", "start" ]