Update Dockerfile to create cdn-files and report files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-27 18:32:06 +01:00
parent 8ab67f2012
commit bbcf436523

View File

@@ -1,6 +1,6 @@
FROM node:14 FROM node:14
WORKDIR /app WORKDIR /app/cdn-app-insider
COPY package*.json ./ COPY package*.json ./
@@ -8,6 +8,10 @@ RUN npm install
COPY . . COPY . .
RUN [ ! -f cdn-files ] && touch cdn-files || true
RUN [ ! -f report ] && touch report || true
EXPOSE 5053 EXPOSE 5053
CMD [ "npm", "start" ] CMD [ "npm", "start" ]