Files
CDN-APP-INSIDER/Dockerfile
Dinawo bdad6f820f
All checks were successful
continuous-integration/drone/push Build is passing
Create directories for cdn-files and report
2024-03-27 20:13:32 +01:00

23 lines
319 B
Docker

FROM node:14
WORKDIR /app/cdn-app-insider
COPY package*.json ./
RUN npm install
COPY . .
RUN mkdir -p cdn-files
RUN mkdir -p report
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" ]