fix(docker): correct volume paths and set working directory for Calmerge
This commit is contained in:
parent
cf304efe61
commit
e4f1926cb8
2 changed files with 3 additions and 3 deletions
|
@ -9,6 +9,6 @@ services:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- NODE_PORT=3012
|
- NODE_PORT=3012
|
||||||
volumes:
|
volumes:
|
||||||
- ./calendar:/app/calendar
|
- ./calendar:/Calmerge/calendar
|
||||||
- ./logs:/app/logs
|
- ./logs:/Calmerge/logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
FROM node:18-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
# Set working directory inside the container
|
# Set working directory inside the container
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /Calmerge
|
||||||
|
|
||||||
# Copy package.json and package-lock.json for installing dependencies
|
# Copy package.json and package-lock.json for installing dependencies
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
Loading…
Add table
Reference in a new issue