diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8b85571 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM node:14-slim +WORKDIR /app + +# Copy in lock files +COPY package.json . +COPY yarn.lock . + +# Install dependencies +RUN yarn install + +# Copy program in +COPY . . + +# Serve the frontend +ENTRYPOINT ["yarn", "run"] +CMD ["start", "--host", "0.0.0.0"] |