mentorenwahl/frontend/Dockerfile
Dominic Grimm 50379148bc
Some checks failed
continuous-integration/drone/push Build is failing
Update codebase
2022-10-31 09:47:26 +01:00

9 lines
186 B
Docker

FROM node:16-alpine
WORKDIR /usr/src/frontend
COPY ./package.json ./yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
EXPOSE 3000
CMD ["yarn", "preview", "--host"]