pridani portu do dockerfile + traefik example

This commit is contained in:
2023-06-28 19:50:54 +02:00
parent 26609ebd6b
commit ab57acdcd1
4 changed files with 58 additions and 2 deletions

View File

@@ -18,6 +18,6 @@ ENV NODE_ENV production
WORKDIR /app
COPY --from=builder /build .
EXPOSE 3000
RUN yarn global add serve && yarn
CMD ["serve", "-s", "."]