ブログ
これまでに経験してきたプロジェクトで気になる技術の情報を紹介していきます。
WSL2 で React native のアプリを作成する


version: "3.9"
services:
reactn:
build: ./docker/react_native
volumes:
- ./react_native/:/usr/src/app
env_file: .env
command: yarn start
ports:
- "8081:8081"
- "19000:19000"
- "19001:19001"
- "19002:19002"
FROM node:20-slim
WORKDIR /usr/src/app/
RUN apt update
RUN apt install -y vim
RUN echo 'alias ll="ls $LS_OPTIONS -la"' >> ~/.bashrc
$ docker-compose run --rm --remove-orphans --build reactn bash
# npx -y create-expo-app . -t expo-template-blank-typescript
# npx expo install --fix
$ docker-compose up
WSL2 で React native のアプリを作成する
WSL2 で React native のアプリを作成する
2023-09-04 11:25:55
2024-06-19 09:22:34
コメントはありません。