vylbot-app/Dockerfile
2022-02-05 21:09:27 +00:00

15 lines
No EOL
229 B
Docker

# 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" ]