~cadence/public-inbox

Add Dockerfile v1 PROPOSED

Perflyst: 1
 Add Dockerfile

 1 files changed, 8 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~cadence/public-inbox/patches/16412/mbox | git am -3
Learn more about email & git

[PATCH] Add Dockerfile Export this patch

---
 Dockerfile | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 Dockerfile

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e9318a6
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
FROM node:14.5.0-alpine as build
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build

FROM nginx:alpine as app
COPY --from=build /app/build/ /usr/share/nginx/html/
-- 
2.17.1