mirror of
https://github.com/Floriansylvain/SnippetsManager.git
synced 2026-08-19 11:43:15 +02:00
More docker, express and config setup
This commit is contained in:
+5
-4
@@ -4,10 +4,11 @@ WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
COPY package-lock.json ./
|
||||
COPY tsconfig.json ./
|
||||
COPY .env ./
|
||||
COPY app.js ./
|
||||
ADD routes ./routes/
|
||||
ADD src ./src/
|
||||
ADD prisma ./prisma/
|
||||
RUN npm ci
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
RUN npm ci
|
||||
RUN npx prisma generate
|
||||
CMD npm start
|
||||
Reference in New Issue
Block a user