Basic Typescript configuration.

This commit is contained in:
Patrick Fic
2022-04-28 17:49:41 -07:00
commit 295e4deeb2
12 changed files with 9036 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
FROM node:16
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
# Bundle app source
COPY . .
EXPOSE 8000
CMD [ "node", "server.js" ]