Malackathon-backend/Dockerfile

14 lines
177 B
Docker
Raw Normal View History

2024-10-17 11:48:51 +02:00
FROM alpine:3.14
2024-10-17 15:51:00 +02:00
RUN apk update && apk add --no-cache nodejs npm make g++ git
2024-10-17 11:48:51 +02:00
WORKDIR /app
COPY . .
2024-10-17 17:10:54 +02:00
RUN npm install express --save
2024-10-17 11:48:51 +02:00
2024-10-17 17:10:54 +02:00
CMD ["node", "src/main.js"]
2024-10-17 11:48:51 +02:00
2024-10-17 15:51:00 +02:00
EXPOSE 8080