ensure src directory exists first

This commit is contained in:
TheMaddax 2024-11-23 21:12:17 -06:00
parent ff8c1ed0cd
commit dce1bb6a3f

View file

@ -20,7 +20,8 @@ RUN npm install @rollup/rollup-linux-x64-musl
RUN npm install esbuild@0.21.5 RUN npm install esbuild@0.21.5
RUN npm install vite @vitejs/plugin-react --save-dev RUN npm install vite @vitejs/plugin-react --save-dev
# Create type declarations for CSS modules # Create src directory and type declarations
RUN mkdir -p src
RUN echo "declare module '*.css'" > src/types.d.ts RUN echo "declare module '*.css'" > src/types.d.ts
# Copy source code and build # Copy source code and build