diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0a64536..0000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# ---- Base Node ---- -FROM node:14 AS base -WORKDIR /app - -# ---- Dependencies ---- -FROM base AS dependencies -COPY package*.json ./ -RUN npm ci -COPY . . - -# ---- Build ---- -FROM dependencies AS build -RUN npm run build - -# --- Release with Nginx ---- -FROM nginx:1.16.0-alpine AS release -COPY --from=build /app/build /usr/share/nginx/html/ -EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file