mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-08-26 05:13:58 +02:00
13 lines
349 B
Docker
13 lines
349 B
Docker
FROM node:lts-alpine
|
|
|
|
WORKDIR /usr/src/frontend
|
|
|
|
COPY ./frontend/package.json ./frontend/package-lock.json ./
|
|
COPY ./docker/dev/vite/entrypoint.sh /usr/local/bin/vite-entrypoint
|
|
RUN sed -i 's/\r$//g' /usr/local/bin/vite-entrypoint && \
|
|
chmod +x /usr/local/bin/vite-entrypoint
|
|
|
|
ENV PATH ./node_modules/.bin/:$PATH
|
|
|
|
ENTRYPOINT ["vite-entrypoint"]
|