Browse Source

Created docker file for project

master
jrtechs 4 years ago
parent
commit
828b7b15e5
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      Dockerfile

+ 24
- 0
Dockerfile View File

@ -0,0 +1,24 @@
# jeffery russell 12-19-2020
FROM node:buster-slim
WORKDIR /src/
COPY package.json package.json
RUN ls -la
# installs pandoc
RUN apt-get update && \
apt-get install ffmpeg -y
# installs node dependencies
RUN npm install
# exposes port application runs on
EXPOSE 4000
# launch command
CMD npm start

Loading…
Cancel
Save