Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:dropy-project/back into main
Browse files Browse the repository at this point in the history
  • Loading branch information
killian-mannarelli committed Sep 8, 2022
2 parents 46cd75d + aef5822 commit e03c461
Show file tree
Hide file tree
Showing 6 changed files with 262 additions and 131 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.api
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16
RUN npm install -g --unsafe-perm prisma

RUN mkdir /app
WORKDIR /app

COPY . /app

RUN npm init -y
RUN npm ci
RUN npm install -g --unsafe-perm prisma
RUN npx prisma generate

EXPOSE 3000
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.content
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16
RUN npm install -g --unsafe-perm prisma

RUN mkdir /app
WORKDIR /app

COPY . /app

RUN npm init -y
RUN npm ci
RUN npm install -g --unsafe-perm prisma
RUN npx prisma generate

EXPOSE 6000
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.socket
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16
RUN npm install -g --unsafe-perm prisma

RUN mkdir /app
WORKDIR /app

COPY . /app

RUN npm init -y
RUN npm ci
RUN npm install -g --unsafe-perm prisma
RUN npx prisma generate

EXPOSE 4000
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.studio
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16
RUN npm install -g --unsafe-perm prisma
RUN mkdir /app

RUN mkdir /app
WORKDIR /app

COPY . /app

RUN npm init -y
RUN npm ci
RUN npm install -g --unsafe-perm prisma
RUN npm install @prisma/photon

CMD [ "npx", "prisma", "studio" ]
Expand Down
Loading

0 comments on commit e03c461

Please sign in to comment.