Test_express / Dockerfile
Sharathhebbar24's picture
Upload 5 files
41a4d53 verified
raw
history blame contribute delete
365 Bytes
# Fetching the minified node image on apline linux
FROM node:slim
# Declaring env
ENV NODE_ENV development
# Setting up the work directory
WORKDIR /express-docker
# Copying all the files in our project
COPY . .
# Installing dependencies
RUN npm install
# Starting our application
CMD [ "node", "main.js" ]
# Exposing server port
EXPOSE 5000