Updated packages

This commit is contained in:
Christian Anetzberger
2023-01-27 18:16:21 +01:00
parent 22736073da
commit b4811c5d43
13 changed files with 1225 additions and 973 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM node:16
# Create app directory
WORKDIR /app
ENV PORT 3001
EXPOSE 3001
# 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 ./
ADD node_addons ./node_addons
RUN yarn install
# Bundle app source
COPY . .
CMD [ "yarn", "start" ]