19 lines
239 B
Docker
19 lines
239 B
Docker
# Based on node
|
|
FROM node:13
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
# RUN NPM ci --only=production
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
EXPOSE 3000
|
|
CMD ["node", "ask.js"]
|
|
|