Refactor Dockerfile and docker-compose.yml to use new directory structure
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/cdn-app-insider/data /app/cdn-app-insider/report /app/cdn-app-insider/cdn-files
|
||||||
|
|
||||||
EXPOSE 5053
|
EXPOSE 5053
|
||||||
|
|
||||||
CMD [ "npm", "run", "start" ]
|
CMD [ "npm", "run", "start" ]
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ services:
|
|||||||
- ./data:/app/cdn-app-insider/data
|
- ./data:/app/cdn-app-insider/data
|
||||||
- ./report:/app/cdn-app-insider/report
|
- ./report:/app/cdn-app-insider/report
|
||||||
- ./cdn-files:/app/cdn-app-insider/cdn-files
|
- ./cdn-files:/app/cdn-app-insider/cdn-files
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user