This file was useless
This commit is contained in:
parent
bb36976fff
commit
e7bd13678b
19
Dockerfile
19
Dockerfile
@ -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;"]
|
|
Loading…
Reference in New Issue
Block a user