start project
This commit is contained in:
commit
68c6bc7a62
6 changed files with 155 additions and 0 deletions
26
docker/Dockerfile
Normal file
26
docker/Dockerfile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
FROM node:lts-alpine AS build-stage
|
||||
|
||||
ENV TZ=Asia/Bangkok
|
||||
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
RUN mkdir /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
# COPY sso.js .
|
||||
# COPY index.html .
|
||||
# COPY public-sso .
|
||||
# COPY public-landing .
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["node","sso.js"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue