mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-27 12:48:01 +02:00
Testing docker builds using CI
This commit is contained in:
parent
19b66fefc1
commit
07022cdb3e
2 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,9 @@ WORKDIR /app/
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN npm install && \
|
||||
RUN --mount=type=cache,target=/root/.cache/npm \
|
||||
--mount=type=cache,target=/app/node_modules \
|
||||
npm install --prefer-offline && \
|
||||
npm run build
|
||||
|
||||
FROM nginx:stable-alpine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue