api-wrapper / Dockerfile
Streamio's picture
Update Dockerfile
f9a3cb3 verified
Raw
History Blame Contribute Delete
414 Bytes
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"]