aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 03c1faeb765a0fba9d7740a1a9e002e3e193576f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM node:20-slim
WORKDIR /app

# Copy in lock files
COPY package.json .
COPY yarn.lock .

# Install dependencies
RUN yarn install

# Copy program in
COPY . .

# Serve the frontend
ENTRYPOINT ["yarn", "run"]
CMD ["start", "--host", "0.0.0.0"]