Add dockerfile and remove package manager

This commit is contained in:
2022-05-30 22:35:39 +02:00
parent fae31f19f5
commit d2b1343f66
2 changed files with 15 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:16-alpine3.11
RUN mkdir -p /usr/src/fallback
WORKDIR /usr/src/fallback
COPY . /usr/src/fallback
RUN yarn install
RUN yarn build
EXPOSE 3355
CMD ["yarn", "preview"]