Create Dockerfile

This commit is contained in:
骑着毛驴去纽约 2021-04-17 14:31:01 +08:00 committed by GitHub
parent 33a93a12b4
commit 526c083ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

6
public/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:lts-alpine
RUN npm install -g http-server
COPY . /app
WORKDIR /app
EXPOSE 8080
CMD [ "http-server" ]