Skip to content

Commit

Permalink
updates + containerized
Browse files Browse the repository at this point in the history
  • Loading branch information
rolyatmax committed Apr 10, 2022
1 parent 25a146d commit 53afda7
Show file tree
Hide file tree
Showing 10 changed files with 20,936 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
public/node_modules
public/build
data*
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build
public/build
public/node_modules
node_modules
data*
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:14-slim

WORKDIR /app
COPY . .
RUN npm install

WORKDIR /app/public
RUN npm install
RUN npm run build

WORKDIR /app
CMD [ "npm", "start" ]
Loading

0 comments on commit 53afda7

Please sign in to comment.