Browse Source

Added docker

Spencer Gardner 2 years ago
parent
commit
265e2272f7
2 changed files with 11 additions and 0 deletions
  1. 3 0
      .dockerignore
  2. 8 0
      dockerfile

+ 3 - 0
.dockerignore

@@ -0,0 +1,3 @@
+build/
+node_modules/
+.idea/

+ 8 - 0
dockerfile

@@ -0,0 +1,8 @@
+FROM node:18
+
+RUN mkdir /opt/app
+ADD ./ /opt/app
+WORKDIR /opt/app
+
+CMD yarn && yarn start
+EXPOSE 3000