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