1 parent
5aab447e87
commit
5218becfbf
2 files changed
+1
-11
No files matched your search
+1
-3
@@ -35,6 +35,4 @@ EXPOSE 3000
|
||||
ENV PORT=3000
|
||||
ENV HOSTNAME="0.0.0.0"
|
||||
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
CMD ["node", "server.js"]
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
# entrypoint.sh
|
||||
|
||||
echo "Running database push..."
|
||||
npx prisma db push
|
||||
|
||||
echo "Starting application..."
|
||||
node server.js
|
||||
Reference in new issue
Block a user