Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions web-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ MAINTAINER "http://zalando.github.io/"

RUN apk --no-cache add curl

COPY package.json ./
COPY yarn.lock ./

RUN yarn --production

COPY src ./src
COPY server.js ./
COPY ./ ./
RUN yarn
RUN yarn build

EXPOSE 3000

CMD ["node", "server.js"]
CMD ["yarn", "start"]