feat: scraping, database and tooling
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM node:18 as builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --production
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bash", "-c", "yarn db:generate && yarn db:migrate && yarn start"]
|
||||
Reference in New Issue
Block a user