aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 8b855711488c37cd17df2e2781a4882fcd0feed0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM node:14-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"]