13 lines
143 B
Docker
13 lines
143 B
Docker
|
FROM node:18
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY package.json yarn.lock ./
|
||
|
|
||
|
RUN yarn
|
||
|
|
||
|
COPY index.html index.js ./
|
||
|
|
||
|
EXPOSE 3001
|
||
|
|
||
|
ENTRYPOINT ["node", "index.js"]
|