mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-04 14:37:24 +02:00
Update Dockerfile to include TypeScript config
Added TypeScript configuration and updated Vite config file.
This commit is contained in:
parent
f57b9abb8e
commit
2e1d0e94ef
1 changed files with 3 additions and 1 deletions
|
|
@ -12,9 +12,11 @@ RUN npm ci
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
COPY ./public ./public
|
COPY ./public ./public
|
||||||
COPY vite.config.js .
|
COPY tsconfig.json .
|
||||||
|
COPY vite.config.ts .
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
|
ENV NETLIFY=true
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue