@@ -9,7 +9,6 @@ lerna-debug.log*
node_modules
.DS_Store
-dist
dist-ssr
coverage
*.local
@@ -1,8 +1,3 @@
-# syntax=docker/dockerfile:1
-FROM node:14
-
-WORKDIR /app
-COPY . .
-RUN npm install
-RUN npm run build
-VOLUME dist /app/dist
+FROM nginx:stable-alpine
+COPY dist /usr/share/nginx/html
+COPY nginx.conf /etc/nginx/conf.d/default.conf
@@ -0,0 +1,9 @@
+server {
+ listen 80;
+
+ location / {
+ root /usr/share/nginx/html;
+ index index.html index.htm;
+ try_files $uri $uri/ /index.html last;
+ }
+}