mirror of
https://github.com/ryanamay/twinkle.git
synced 2024-09-20 05:30:35 +00:00
17 lines
No EOL
255 B
Docker
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"] |