Files
CDN-APP-INSIDER/Dockerfile
Dinawo 4c5019ab51
All checks were successful
continuous-integration/drone/push Build is passing
Refactor volume paths in Dockerfile to use new directory structure
2024-05-01 18:41:48 +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 /data
RUN ln -s /srv/docker/cdn-app-insider/cdn-files /cdn-files
RUN ln -s /srv/docker/cdn-app-insider/report /report
COPY . .
EXPOSE 5053
CMD [ "npm", "run", "start" ]