Merge pull request #3 from mushcatshiro/docker-addition

adding docker support
master
程序员鱼皮 2 years ago committed by GitHub
commit cd1c1fb8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,14 @@
FROM node:18-buster-slim
RUN npm install -g http-server
WORKDIR /src
COPY . .
RUN npm install
RUN npm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]
Loading…
Cancel
Save