twinkle/Dockerfile

17 lines
255 B
Docker
Raw Permalink Normal View History

2024-09-06 14:59:09 +00:00
# Step 1: Build Stage
FROM node:22
# Set working directory
WORKDIR /app
# git repo to ./
COPY . .
# Install dependencies
RUN npm install
# Build the application
RUN npm run build
ENV TZ="Asia/Singapore"
# Start the application
CMD ["npm", "start"]