directus/Containerfile
ndsboy d52e8777e8
Some checks failed
deploy / deploy (push) Has been cancelled
feat: create container
2025-02-24 22:44:57 +00:00

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