1.0.0
This commit is contained in:
22
Dockerfile
Normal file
22
Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM node:12.4.0-alpine
|
||||
LABEL AUTHOR="yi-ge"
|
||||
LABEL maintainer="a@wyr.me"
|
||||
|
||||
RUN apk add --no-cache \
|
||||
libstdc++ \
|
||||
libgcc \
|
||||
rsync \
|
||||
openssh-client \
|
||||
bash \
|
||||
ca-certificates \
|
||||
git
|
||||
|
||||
RUN mkdir /project
|
||||
|
||||
ADD . /project
|
||||
|
||||
WORKDIR /project
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["npm", "start"]
|
Reference in New Issue
Block a user