vylbot-app/Dockerfile

15 lines
229 B
Text
Raw Permalink Normal View History

2022-02-05 21:09:27 +00:00
# Create app and work directory
FROM node:16
WORKDIR /vylbot
# Install dependencies
COPY package.json .
COPY yarn.lock .
RUN yarn install
# Bundle app source
COPY . .
RUN yarn build
# Run the app source
CMD [ "yarn", "start" ]