feat: added bind mounts to docker-compose.yml file for hot reload
This commit is contained in:
@@ -5,6 +5,7 @@ FROM node
|
||||
# Create App Directory
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN npm install -g nodemon
|
||||
|
||||
# Install Dependencies
|
||||
COPY package*.json ./
|
||||
@@ -14,6 +15,8 @@ RUN npm install --silent
|
||||
# Copy app source code
|
||||
COPY . .
|
||||
|
||||
RUN chmod +x ./engine/stockfish16
|
||||
|
||||
# Exports
|
||||
EXPOSE 8080
|
||||
|
||||
|
||||
Reference in New Issue
Block a user