Files
CDN-APP-INSIDER/Dockerfile
Dinawo 03f0773c0f
All checks were successful
continuous-integration/drone/push Build is passing
Refactor Dockerfile and docker-compose.yml to use new directory structure and update volume paths
2024-05-01 18:31:56 +02:00

20 lines
308 B
Docker

FROM node:14
WORKDIR /srv/docker/cdn-app-insider
COPY package*.json ./
RUN npm install
RUN ln -s /srv/docker/cdn-app-insider/data /cdn-files
RUN ln -s /srv/docker/cdn-app-insider/cdn-files /data
RUN ln -s /srv/docker/cdn-app-insider/report /report
COPY . .
EXPOSE 5053
CMD [ "npm", "run", "start" ]