Skip to content

Commit

Permalink
rust-test
Browse files Browse the repository at this point in the history
  • Loading branch information
bochaco committed Nov 17, 2024
1 parent ab8d77b commit 92ae4a5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions windows.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ FROM mcr.microsoft.com/powershell as tailwindcss-builder

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';$ProgressPreference='silentlyContinue';"]

RUN Invoke-WebRequest -OutFile nvm-noinstall.zip -UseBasicParsing -Uri "https://github.com/coreybutler/nvm-windows/releases/latest/download/nvm-noinstall.zip"
RUN Expand-Archive -DestinationPath C:\ nvm-noinstall.zip
#RUN Invoke-WebRequest -OutFile nvm-noinstall.zip -UseBasicParsing -Uri "https://github.com/coreybutler/nvm-windows/releases/latest/download/nvm-noinstall.zip"
#RUN Expand-Archive -DestinationPath C:\ nvm-noinstall.zip
#RUN Rename-Item C:\node-v20.17.0-x64 C:\nodejs
#RUN SETX PATH C:\nodejs
#RUN msiexec.exe /q /i nodejs.msi
RUN C:\nvm.exe install 20.17.0
RUN C:\nvm.exe use 20.17.0

#RUN C:\nvm.exe install 20.17.0
#RUN C:\nvm.exe use 20.17.0

WORKDIR /app
COPY package.json package-lock.json ./

# Install tailwindcss modules
RUN npm install -D tailwindcss
RUN npx tailwindcss init
#RUN npm install -D tailwindcss
#RUN npx tailwindcss init

# Now let's use a build env with Rust for the app
FROM mcr.microsoft.com/devcontainers/rust:dev-1 as builder
Expand Down

0 comments on commit 92ae4a5

Please sign in to comment.