Skip to content

this isn't going to do much, but adapt structure of vue template to use package.json for deps #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions templates/vue-template/e2b.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ FROM node:21-slim
WORKDIR /home/user/app

# Pre-install common dependencies to speed up runtime
RUN npm init -y
RUN npm install -g typescript vue@3
RUN npm install --legacy-peer-deps --save-dev tailwindcss@3 autoprefixer@10 postcss@8 @vue/compiler-sfc@3 vite @vitejs/plugin-vue @vitejs/plugin-react-swc

# Copy in package.json and install dependencies
COPY package.json /home/user/app/
RUN npm install --legacy-peer-deps

# Set up basic Vite configuration for Vue
RUN npx tailwindcss init
Expand Down
Loading