twinkle/Dockerfile
2024-09-06 22:59:09 +08:00

17 lines
No EOL
255 B
Docker

# 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"]