Add Dockerfile for backend.

This commit is contained in:
David Ball 2024-05-31 01:58:51 -04:00
parent 561718b17f
commit f8783e39c5

8
backend/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# frontend/Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
EXPOSE 3001
CMD ["node", "server.js"]