Update Dockerfile to create cdn-files and report files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM node:14
|
||||
|
||||
WORKDIR /app
|
||||
WORKDIR /app/cdn-app-insider
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
@@ -8,6 +8,10 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN [ ! -f cdn-files ] && touch cdn-files || true
|
||||
|
||||
RUN [ ! -f report ] && touch report || true
|
||||
|
||||
EXPOSE 5053
|
||||
|
||||
CMD [ "npm", "start" ]
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user