first commit
This commit is contained in:
12
api/Dockerfile
Normal file
12
api/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm init -y && npm install express
|
||||
|
||||
COPY server.js .
|
||||
COPY data.json .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user