mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-23 13:42:01 +00:00
14 lines
190 B
Docker
14 lines
190 B
Docker
|
FROM node:18
|
||
|
|
||
|
# Use bash as the default shell
|
||
|
SHELL ["/bin/bash", "-c"]
|
||
|
|
||
|
ENV NODE_ENV=production
|
||
|
|
||
|
WORKDIR /var/www/html
|
||
|
COPY .. /var/www/html
|
||
|
|
||
|
RUN yarn install && yarn build
|
||
|
|
||
|
CMD yarn start
|