11 lines
236 B
Docker
11 lines
236 B
Docker
FROM node
|
|
# user node has UID 1000 in the container
|
|
USER node
|
|
EXPOSE 5173
|
|
VOLUME /client
|
|
WORKDIR /client
|
|
ADD package.json yarn.lock tsconfig.json tsconfig.node.json vite.config.ts /client/
|
|
RUN yarn
|
|
ADD public/ src/ index.html /client/
|
|
|