mentorenwahl/docker/frontend/Dockerfile
Dominic Grimm c6b5ca3fc2
Some checks failed
continuous-integration/drone/push Build is failing
Switched frontend to sveltekit
2022-02-13 09:40:06 +01:00

8 lines
173 B
Docker

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