From 526c083ab575ebb4bde3171d2ae47642a3875d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=91=E7=9D=80=E6=AF=9B=E9=A9=B4=E5=8E=BB=E7=BA=BD?= =?UTF-8?q?=E7=BA=A6?= Date: Sat, 17 Apr 2021 14:31:01 +0800 Subject: [PATCH] Create Dockerfile --- public/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 public/Dockerfile diff --git a/public/Dockerfile b/public/Dockerfile new file mode 100644 index 00000000..e1bd605d --- /dev/null +++ b/public/Dockerfile @@ -0,0 +1,6 @@ +FROM node:lts-alpine +RUN npm install -g http-server +COPY . /app +WORKDIR /app +EXPOSE 8080 +CMD [ "http-server" ]