File size: 333 Bytes
ece5841 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# Dockerfile for Node Express Backend
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 ./
RUN npm install --silent
# Copy app source code
COPY . .
RUN chmod +x ./engine/stockfish16
# Exports
EXPOSE 8080
CMD ["node","app.js"] |