Browse Source

👷 update project with dockerfile

main
Neel-Leo Coffin 6 years ago
parent
commit
65f30ad1d4
  1. 2
      .circleci/config.yml
  2. 6
      Dockerfile

2
.circleci/config.yml

@ -54,8 +54,6 @@ jobs:
command: |
sudo npm install -g --silent netlify-cli
netlify deploy --prod --auth $NETLIFY_TOKEN --dir=/tmp/dist --site $NETLIFY_SITE_ID
build_image:
docker:
- image: circleci/buildpack-deps:stretch

6
Dockerfile

@ -0,0 +1,6 @@
FROM node:dubnium
WORKDIR /app
RUN yarn install
COPY . .
EXPOSE 2020
CMD ["yarn", "serve"]
Loading…
Cancel
Save