Skip to content

Commit

Permalink
fix: heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
froid1911 committed Feb 2, 2024
1 parent 1c50d20 commit 9af4188
Show file tree
Hide file tree
Showing 10 changed files with 25,438 additions and 20,075 deletions.
6 changes: 3 additions & 3 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ WORKDIR /app

# copy the app, note .dockerignore
COPY package.json .
COPY yarn.lock .
RUN yarn install --frozen-lockfile
COPY package-lock.json .
RUN npm ci

FROM dependency-base AS production

Expand All @@ -29,4 +29,4 @@ RUN npx prisma generate
# initialize db and start the app
RUN useradd -m myuser
USER myuser
CMD yarn start
CMD npm start
Loading

0 comments on commit 9af4188

Please sign in to comment.