9 lines
No EOL
343 B
Docker
9 lines
No EOL
343 B
Docker
FROM docker.io/library/node AS build
|
|
COPY . .
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
FROM docker.io/directus/directus
|
|
RUN mkdir /directus/extensions/directus-extension-swablab
|
|
COPY --from=build ./package.json /directus/extensions/directus-extension-swablab/package.json
|
|
COPY --from=build ./dist /directus/extensions/directus-extension-swablab/dist |