start project

This commit is contained in:
Warunee Tamkoo 2024-12-16 20:09:22 +07:00
commit 68c6bc7a62
6 changed files with 155 additions and 0 deletions

26
docker/Dockerfile Normal file
View 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"]