/
githubmirror
/
screenshot-to-code
Обзор
Документация
Войти
/
githubmirror
/
screenshot-to-code
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
frontend/Dockerfile
22 строки
496 B
Abi Raja
Merge pull request #317 from MarcusLeoTKM/nodeversion
05 июн 2024, 22:47
Не верифицирован
05 июн 2024, 22:47
465dc64
Код
Авторство
О чём код?
FROM node:22-bullseye-slim # Set the working directory in the container WORKDIR /app # Copy package.json and yarn.lock COPY package.json yarn.lock /app/ # Set the environment variable to skip Puppeteer download ENV PUPPETEER_SKIP_DOWNLOAD=true # Install dependencies RUN yarn install # Copy the current directory contents into the container at /app COPY ./ /app/ # Expose port 5173 to access the server EXPOSE 5173 # Command to run the application CMD ["yarn", "dev", "--host", "0.0.0.0"]