Add new directories for data, report, and CDN files in Dockerfile and docker-compose.yml
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:
@@ -8,6 +8,8 @@ RUN npm install
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN mkdir -p /app/data /app/report /app/cdn-files
|
||||||
|
|
||||||
EXPOSE 5053
|
EXPOSE 5053
|
||||||
|
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "run", "start" ]
|
||||||
|
|||||||
@@ -9,7 +9,8 @@ services:
|
|||||||
- report-volume:/app/report
|
- report-volume:/app/report
|
||||||
- cdn-files-volume:/app/cdn-files
|
- cdn-files-volume:/app/cdn-files
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data-volume:
|
data-volume:
|
||||||
report-volume:
|
report-volume:
|
||||||
cdn-files-volume:
|
cdn-files-volume:
|
||||||
|
|||||||
Reference in New Issue
Block a user