Files
CDN-APP-INSIDER/Dockerfile
Dinawo 96466073a5
All checks were successful
continuous-integration/drone/push Build is passing
Update Dockerfile and server.js to handle setup and user configurations
2024-03-27 18:49:08 +01:00

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" ]