Skip to content

Commit

Permalink
adding dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Oct 6, 2020
1 parent 0946995 commit 7e40674
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
npm-debug.log

14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM arm32v7/node:current

WORKDIR /app

COPY package.json .

RUN yarn install --network-timeout 1000000000
COPY . .
RUN yarn build

EXPOSE 3000

CMD ["yarn", "serve", "-n", "build"]

0 comments on commit 7e40674

Please sign in to comment.