feat: Dockerize app
This commit is contained in:
1 parent
e742e32832
commit
8ed3ca4ff7
5 files changed
+151
-14
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ADAPTER=node npm run build
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
Reference in new issue
Block a user