Files
tugas1_rpl/be/Dockerfile
T
2026-11-14 19:43:01 +08:00

12 lines
167 B
Docker

FROM node:20-alpine
WORKDIR /app
RUN npm init -y && npm install express mysql2 cors multer
COPY index.js .
# COPY data.json .
EXPOSE 3000
CMD ["node", "index.js"]