File size: 414 Bytes
d9f3d03
 
f9a3cb3
d9f3d03
 
f9a3cb3
d9f3d03
 
f9a3cb3
 
d9f3d03
f9a3cb3
 
d9f3d03
f9a3cb3
d9f3d03
 
f9a3cb3
d9f3d03
 
f9a3cb3
d9f3d03
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM node:18-alpine

# Install git
RUN apk add --no-cache git

# Clone the repo into /app
RUN git clone https://github.com/WackyDawg/movie-api-wrapper.git /app

# Set working directory to the src folder
WORKDIR /app/src

# Install dependencies inside src
RUN npm install

# Expose the intended port
EXPOSE 7860

# Set environment to production
ENV NODE_ENV=production

# Start the application
CMD ["npm", "start"]