mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
chore: update docker & makefile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:18-alpine3.17
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./ /app
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD npx prisma migrate deploy && npm run start
|
||||
Reference in New Issue
Block a user